summaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-29 07:15:24 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-29 07:15:24 +0000
commit2cfb754f6abf441cbcf4e639cd26c060b3e4cc95 (patch)
tree3f35835b3c1667ddf395f3a67b0e0123f92ddeae /src/udp.c
parentimproved signal handling (diff)
fixed build for OpenBSD (no tun device yet)
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)
{