gallium: remove dependency on main/glheader.h in glxapi.c

Only needed it for the PUBLIC macro.
This commit is contained in:
Brian Paul
2009-02-22 15:37:57 -07:00
parent e5e255a406
commit 022e446c78
+9 -1
View File
@@ -34,13 +34,21 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "main/glheader.h"
#include "glapi/glapi.h"
#include "glxapi.h"
#include "fakeglx.h"
#include "pipe/p_thread.h"
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
# define PUBLIC __attribute__((visibility("default")))
# define USED __attribute__((used))
#else
# define PUBLIC
# define USED
#endif
struct display_dispatch {
Display *Dpy;
struct _glxapi_table *Table;