Put X11 and EGL into the kernel leaving ES 2.0 only in driver
[cilux] / src / platform / linux / kernelplat.h
index 2b96446..dd06f41 100644 (file)
@@ -7,6 +7,8 @@
 #include <grp.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
+#include <X11/Xutil.h>
+#include <EGL/egl.h>
 
 #include <platform.h>
 
 #define SLEEP_MS(x)           do{struct timeval t;t.tv_sec=0;t.tv_usec=(x)*1000;select(0,0,0,0,&t);}while(0)
 #define MKTIME                mktime
 
-/* -------------------------------------------------------------------------- */
-
-#define CONSOLE    void*
 #define C_RUN_RV   int
 #define C_RUN_ARG  void*
 
-PUBLIC CONSOLE k_console;
-
 /* -------------------------------------------------------------------------- */