aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extcap/udpdump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/extcap/udpdump.c b/extcap/udpdump.c
index f26a5ff4ae..907c896353 100644
--- a/extcap/udpdump.c
+++ b/extcap/udpdump.c
@@ -31,6 +31,10 @@
#include <glib/gprintf.h>
#include <stdlib.h>
+#ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+#endif
+
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif