st/glx: Include main/core.h.
[mesa.git] / src / gallium / state_trackers / glx / xlib / xm_api.h
index 934c7494503c27751cd4de9bde6acfff07b2b099..f209b14ea1342b47c3523d63bc0d372d0b44a0f4 100644 (file)
@@ -57,7 +57,7 @@ and create a window, you must do the following to use the X/Mesa interface:
 #define XMESA_H
 
 
-#include "main/mtypes.h"
+#include "main/core.h" /* for GLvisual and MESA_VERSION_STRING */
 #include "state_tracker/st_api.h"
 #include "os/os_thread.h"