summaryrefslogtreecommitdiffstats
path: root/stream/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/udp.c')
-rw-r--r--stream/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/udp.c b/stream/udp.c
index 9790e1b7f5..889c23826d 100644
--- a/stream/udp.c
+++ b/stream/udp.c
@@ -27,9 +27,9 @@
#include <sys/types.h>
#include <sys/time.h>
#include <ctype.h>
-#include <netdb.h>
#ifndef HAVE_WINSOCK2
+#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>