Ver código fonte

Tests/X11: Add missing include <stdlib.h> for 'rand'

Brad King 13 anos atrás
pai
commit
7fa8e532b6
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Tests/X11/HelloWorldX11.cxx

+ 1 - 0
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>