]> git.sur5r.net Git - i3/i3/commitdiff
Build fix: Explicitly include stdint.h before cfgparse.tab.h
authorRaphael Kubo da Costa <kubito@gmail.com>
Sat, 22 Jan 2011 18:03:29 +0000 (16:03 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Jan 2011 12:19:25 +0000 (13:19 +0100)
cfgparse.tab.h uses uint32_t, which is defined in stdint.h.

Should fix the build of 3.ε-bf2 on FreeBSD.

Signed-off-by: Raphael Kubo da Costa <kubito@gmail.com>
src/cfgparse.l

index 0c0cee708b4d01cf0f880b1c27d8a78c6777bc88..2d31913428f696519f9ea187b80159c9aebd9aff 100644 (file)
@@ -10,6 +10,7 @@
  */
 #include <stdio.h>
 #include <string.h>
+#include <stdint.h> /* Defines uint32_t, required by cfgparse.tab.h */
 #include "cfgparse.tab.h"
 #include <xcb/xcb.h>