aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/extcap-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/extcap-base.h')
-rw-r--r--extcap/extcap-base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/extcap/extcap-base.h b/extcap/extcap-base.h
index 3e2f847b84..2c6763a025 100644
--- a/extcap/extcap-base.h
+++ b/extcap/extcap-base.h
@@ -24,6 +24,8 @@
#ifndef __EXTCAP_BASE_H__
#define __EXTCAP_BASE_H__
+#include "config.h"
+
#include <glib.h>
#include <glib/gprintf.h>
#include <stdlib.h>
@@ -65,6 +67,10 @@
#define SOCKET_ERROR (-1)
#endif
+#ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+#endif
+
#define EXTCAP_BASE_OPTIONS_ENUM \
EXTCAP_OPT_LIST_INTERFACES, \
EXTCAP_OPT_VERSION, \