]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix warnings about implicit declarations of functions 'ntohs' and 'ntohl'
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 19 Aug 2016 06:50:53 +0000 (08:50 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 19 Aug 2016 07:03:47 +0000 (09:03 +0200)
extract.h

index cb62ebddb61e9a7f0c85a5af782f1afd20b1dd1d..2586023708b32d0bcf846d60665146afdf3c5cd5 100644 (file)
--- a/extract.h
+++ b/extract.h
@@ -19,6 +19,8 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#include <arpa/inet.h>
+
 /*
  * Macros to extract possibly-unaligned big-endian integral values.
  */