summaryrefslogtreecommitdiff
path: root/wayland
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2010-11-21 11:47:11 +0100
committerKristian Høgsberg <krh@bitplanet.net>2010-11-22 10:36:40 -0500
commit9f89a40ec17e84a70ab067b783d1d711a1307150 (patch)
tree4538d09cb4100ef08036a78927534ebb8e35c65f /wayland
parentb163cef6e77d0fd64af917e34971f01227ad3952 (diff)
scanner: include stddef.h to provide NULL and size_t
Diffstat (limited to 'wayland')
-rw-r--r--wayland/scanner.c1
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,