ecere; ide: Further header compatibility fixes
authorJerome St-Louis <jerome@ecere.com>
Thu, 4 Apr 2013 07:48:27 +0000 (03:48 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 4 Apr 2013 07:53:12 +0000 (03:53 -0400)
ecere/src/gui/drivers/XInterface.ec
ide/src/debugger/process.ec

index 291df9c..dee0517 100644 (file)
@@ -18,11 +18,7 @@ default:
 #include <linux/joystick.h>
 #endif
 #include <sys/param.h>
-#ifdef BSD
 #include <stdlib.h>
-#else
-#include <malloc.h>
-#endif
 #include <unistd.h>
 #include <sys/select.h>
 
index deb378d..01e9097 100644 (file)
@@ -27,7 +27,7 @@ default:
 #include <X11/Xlib.h>
 #include <X11/Xresource.h>
 #include <X11/Xutil.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 
 #undef Window
 #undef Cursor