]> git.sur5r.net Git - i3/i3/blobdiff - libi3/ipc_connect.c
Ensure all *.[ch] files include config.h
[i3/i3] / libi3 / ipc_connect.c
index f493b4f11e6a6d118951afc058b9632c6621cd5b..2e6283425d47baf3853e4334f5837cd19d038496 100644 (file)
@@ -5,6 +5,8 @@
  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
  *
  */
+#include "libi3.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
@@ -14,8 +16,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-#include "libi3.h"
-
 /*
  * Connects to the i3 IPC socket and returns the file descriptor for the
  * socket. die()s if anything goes wrong.