[PATCH] scanner: include stddef.h to provide NULL and size_t

Benjamin Franzke benjaminfranzke at googlemail.com
Sun Nov 21 02:47:11 PST 2010


---
 wayland/scanner.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/wayland/scanner.c b/wayland/scanner.c
index aaaf551..9d099fb 100644
--- a/wayland/scanner.c
+++ b/wayland/scanner.c
@@ -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,
-- 
1.7.2.2



More information about the wayland-devel mailing list