]> The Tcpdump Group git mirrors - tcpdump/commitdiff
CARP: fix Windows compile error
authorDenis Ovsienko <[email protected]>
Wed, 3 Jul 2013 16:47:11 +0000 (20:47 +0400)
committerDenis Ovsienko <[email protected]>
Wed, 3 Jul 2013 16:47:11 +0000 (20:47 +0400)
(the issue was discovered by Gisle Vanem)
netinet/in.h shouldn't be included during a Windows compile. The fix is
to remove the #include from print-carp.c and let tcpdump-stdinc.h do its
job.

print-carp.c

index ba5be7c6217a94c62954b955b8fb9946cac0e0d4..61f6c33a711d1c7d0494ff1fdd3ae9cbc32a3c14 100644 (file)
@@ -44,8 +44,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 
-#include <netinet/in.h>
-
 #include "interface.h"
 #include "extract.h"
 #include "addrtoname.h"