summaryrefslogtreecommitdiff
path: root/common/sock_any.c
diff options
context:
space:
mode:
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;