]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/mode.c
Ensure all *.[ch] files include config.h
[i3/i3] / i3bar / src / mode.c
index 3e52f0b197db9481533ca93410c30b7c6967e9f9..17e7b97eadbde2a1b2742b1556dd8d52b65a741f 100644 (file)
@@ -7,6 +7,8 @@
  * mode.c: Handle mode event and show current binding mode in the bar
  *
  */
+#include "common.h"
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -14,8 +16,6 @@
 #include <yajl/yajl_parse.h>
 #include <yajl/yajl_version.h>
 
-#include "common.h"
-
 /* A datatype to pass through the callbacks to save the state */
 struct mode_json_params {
     char *json;