summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-03 09:18:36 -0700
committerBrian Paul <[email protected]>2015-03-04 08:33:48 -0700
commit25656753d765680ea4a592ff812deac132e2262d (patch)
tree7f0b6416ff89dfde274036da2381a4ddda4d302b
parent25a847d9cc046584aa43894f70da1bf11ba48f09 (diff)
st/xlib: include p_compiler.h to get PUBLIC definition
To prevent build break with following changes. Reviewed-by: Jose Fonseca <[email protected]>
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_getproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/state_trackers/glx/xlib/glx_getproc.c
index af7afdbce66..e7564ad9cde 100644
--- a/src/gallium/state_trackers/glx/xlib/glx_getproc.c
+++ b/src/gallium/state_trackers/glx/xlib/glx_getproc.c
@@ -32,6 +32,7 @@
#define GLX_GLXEXT_PROTOTYPES
#include <string.h>
+#include "pipe/p_compiler.h"
#include "GL/glx.h"
#include "glapi/glapi.h"