Skip to content

Commit

Permalink
fix: Remove the inclusion of tcp.h as it is included by iperf.h (#1122)
Browse files Browse the repository at this point in the history
This fixes a build breakage on Alpine Linux, where tcp.h was explicitly included in src/net.c before _GNU_SOURCE was defined in iperf.h.
  • Loading branch information
davidBar-On authored Feb 25, 2021
1 parent 49a5771 commit e22d530
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <assert.h>
#include <netdb.h>
#include <string.h>
Expand Down

0 comments on commit e22d530

Please sign in to comment.