]> git.sur5r.net Git - i3/i3status/commitdiff
Fix include order; fixes build on OpenBSD.
authorJasper Lievisse Adriaanse <jasper@humppa.nl>
Thu, 26 Apr 2012 17:50:17 +0000 (19:50 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 28 Apr 2012 08:08:37 +0000 (10:08 +0200)
src/print_ip_addr.c
src/print_ipv6_addr.c

index e97edaab489e5112a5ffdae2775a486fb7693c97..778427c940669c1d09230e1b81395718e94a4761 100644 (file)
@@ -1,7 +1,8 @@
 // vim:ts=8:expandtab
-#include <netinet/in.h>
-#include <sys/socket.h>
 #include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
index be64ba3ae6acfe8dba02a7d02a22397409327894..21974f317b742fa778132b074ac1e6e6195cb9d7 100644 (file)
@@ -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>