scanner: include stddef.h to provide NULL and size_t
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Sun, 21 Nov 2010 10:47:11 +0000 (11:47 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 22 Nov 2010 15:36:40 +0000 (10:36 -0500)
wayland/scanner.c

index aaaf551..9d099fb 100644 (file)
@@ -520,6 +520,7 @@ emit_header(struct protocol *protocol, int server)
               "#endif\n"
               "\n"
               "#include <stdint.h>\n"
+              "#include <stddef.h>\n"
               "#include \"wayland-util.h\"\n\n"
               "struct wl_client;\n\n",
               copyright,