glapi: minor ugliness to be able to copy to xorg
[mesa.git] / src / mesa / glapi / glapi.c
index 469523d57cffd5ca08a72a5778a983685db6933e..631ffba3c7fdb399cb3d084b68ef5f0827af7069 100644 (file)
 
 
 #ifdef HAVE_DIX_CONFIG_H
-
 #include <dix-config.h>
-#define PUBLIC
-
+#include "glapi/mesa.h"
 #else
-
 #include "main/glheader.h"
-
-#endif
-
 #include "main/compiler.h"
-
-#include <stdlib.h>
-#include <string.h>
-#ifdef DEBUG
-#include <assert.h>
 #endif
 
 #include "glapi/glapi.h"