summaryrefslogtreecommitdiff
path: root/src/print_ipv6_addr.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2012-04-26 19:50:17 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-04-28 10:08:37 +0200
commit6eac8bee5810a5f944406cd5b6ddc62e463f495d (patch)
tree0066ec6f65ad06afa48887201b2a86236c0671e2 /src/print_ipv6_addr.c
parentaf326033739f52b5787290a1af361b9a9f2b0225 (diff)
Fix include order; fixes build on OpenBSD.
Diffstat (limited to 'src/print_ipv6_addr.c')
-rw-r--r--src/print_ipv6_addr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/print_ipv6_addr.c b/src/print_ipv6_addr.c
index be64ba3..21974f3 100644
--- a/src/print_ipv6_addr.c
+++ b/src/print_ipv6_addr.c
@@ -1,13 +1,15 @@
// vim:ts=8:expandtab
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
-#include <sys/types.h>
-#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
-#include <arpa/inet.h>
#include <yajl/yajl_gen.h>
#include <yajl/yajl_version.h>