summaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udp.c b/src/udp.c
index 135b098..545b639 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -4,6 +4,7 @@
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <netdb.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
@@ -11,7 +12,7 @@
#include <netdb.h>
#include <string.h>
#include <assert.h>
-#include <netdb.h>
+
#define BUFSIZE 1000
#include "udp.h"