summaryrefslogtreecommitdiff
path: root/Tests/X11
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-07-18 09:59:15 -0400
committerBrad King <brad.king@kitware.com>2012-07-18 09:59:15 -0400
commit7fa8e532b6f6148707f12c17c284194003d679e6 (patch)
treec6984bba42b742bebe1949bff4911ae715f39474 /Tests/X11
parent6b6c2e0b5c544a4a410f43f2f7bc721b20267dc3 (diff)
downloadcmake-7fa8e532b6f6148707f12c17c284194003d679e6.tar.gz
Tests/X11: Add missing include <stdlib.h> for 'rand'
Diffstat (limited to 'Tests/X11')
-rw-r--r--Tests/X11/HelloWorldX11.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/X11/HelloWorldX11.cxx b/Tests/X11/HelloWorldX11.cxx
index 5bbc19a4aa..e3c9dd9cf7 100644
--- a/Tests/X11/HelloWorldX11.cxx
+++ b/Tests/X11/HelloWorldX11.cxx
@@ -15,6 +15,7 @@
#define MAIN_H 1
#include <iostream>
+#include <stdlib.h>
/* include the X library headers */
#include <X11/Xlib.h>