summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-19 08:50:53 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-19 09:03:47 +0200
commitb31e7463ee5e494913ac8648f93de6ed78c0edd0 (patch)
treefdd86aee98fe5455cfc0e8589163d2bc79ff73d4
parentef9e8d565ef2c54cdd14e372fd575d1905486c34 (diff)
downloadlibpcap-b31e7463ee5e494913ac8648f93de6ed78c0edd0.tar.gz
Fix warnings about implicit declarations of functions 'ntohs' and 'ntohl'
-rw-r--r--extract.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extract.h b/extract.h
index cb62ebdd..25860237 100644
--- 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.
*/