summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-03-06 09:11:11 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-03-06 09:11:11 +0000
commit8e8eac509731747f1076bcaf1cbadac1b6daca0b (patch)
tree077225419d0a2b5e355534fe3d41a2d6c93aa49b
parent6522fedaa1023939c046fb6e9a1d2f48d30a37c8 (diff)
tools/cursor: Inlcude stdlib for malloc declaration
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tools/cursor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cursor.c b/tools/cursor.c
index 4ded17a6..31d45d74 100644
--- a/tools/cursor.c
+++ b/tools/cursor.c
@@ -29,8 +29,9 @@
#include <X11/Xlib.h>
#include <X11/extensions/Xfixes.h>
-#include <stdio.h>
#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <png.h>
int main(int argc, char **argv)