diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2012-04-26 19:50:17 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-04-28 10:08:37 +0200 |
commit | 6eac8bee5810a5f944406cd5b6ddc62e463f495d (patch) | |
tree | 0066ec6f65ad06afa48887201b2a86236c0671e2 /src/print_ipv6_addr.c | |
parent | af326033739f52b5787290a1af361b9a9f2b0225 (diff) |
Fix include order; fixes build on OpenBSD.
Diffstat (limited to 'src/print_ipv6_addr.c')
-rw-r--r-- | src/print_ipv6_addr.c | 8 |
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> |