summaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udp.c b/src/udp.c
index 493d772..6ae7066 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -41,6 +41,7 @@
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
+#include <netinet/in.h>
void udp_init(udp_socket_t** sock, const char* local_addr, const char* port)
{