summaryrefslogtreecommitdiff
path: root/common/sock_any.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-04-28 22:51:27 +0000
committerStef Walter <stef@memberwebs.com>2004-04-28 22:51:27 +0000
commit8a3ac8a0c0a49e37c8f68c737da8eaf193766c5d (patch)
tree9da27ac1730725e2332aab0e234f17338804c845 /common/sock_any.c
parentdbbf162dc9be0aef47f2d1f1fcddb7ae4e074d47 (diff)
FreeBSD fixes
Diffstat (limited to 'common/sock_any.c')
-rw-r--r--common/sock_any.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/sock_any.c b/common/sock_any.c
index 32db795..b2bde01 100644
--- a/common/sock_any.c
+++ b/common/sock_any.c
@@ -3,10 +3,11 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <arpa/inet.h>
#include "sock_any.h"
+#include <arpa/inet.h>
+
int sock_any_pton(const char* addr, struct sockaddr_any* any, int defport)
{
size_t l;