forked from esnet/iperf
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning: "HAVE_SCTP" redefined (esnet#1010)
The netinet/sctp.h header file defines HAVE_SCTP, so we have this warning while building: In file included from ../../src/iperf.h:30, from ../../src/iperf_sctp.c:46: ./iperf_config.h:44: warning: "HAVE_SCTP" redefined 44 | #define HAVE_SCTP 1 | In file included from ../../src/iperf_sctp.c:43: /usr/include/netinet/sctp.h:56: note: this is the location of the previous definition 56 | #define HAVE_SCTP | This patch replaces our HAVE_SCTP definition with HAVE_SCTP_H to avoid this warning. Signed-off-by: Stefano Garzarella <[email protected]>
- Loading branch information
1 parent
8c8ef21
commit 0b0aa34
Showing
7 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters