Przeglądaj źródła

Fix compiler errors

rdb 16 lat temu
rodzic
commit
32b809b50c

+ 1 - 0
direct/src/plugin/handleStreamBuf.cxx

@@ -22,6 +22,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <libio.h>
 #endif  // _WIN32
 
 static const size_t handle_buffer_size = 4096;

+ 1 - 0
direct/src/plugin/p3dX11SplashWindow.cxx

@@ -23,6 +23,7 @@
 #include <sys/wait.h>
 #include <sys/select.h>
 #include <signal.h>
+#include <stdint.h>
 
 // Clamps a value to two boundaries.
 #define clamp(x, lb, hb) (x < lb ? lb : (x > hb ? hb : x))