glapi: Clean up header inclusions.

Do not rely on PUBLIC being defined in glapi.h.  Do not include core
mesa headers.
This commit is contained in:
Chia-I Wu
2010-08-23 16:13:12 +08:00
parent 0c87828050
commit e607b67ebc
6 changed files with 45 additions and 40 deletions
-9
View File
@@ -29,15 +29,6 @@
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#include "glapi/mesa.h"
#else
#include "main/glheader.h"
#include "main/compiler.h"
#endif
#include "glapi/glapi.h"
#include "glapi/glapi_priv.h"
#include "mapi/u_execmem.h"