[Mesa-dev] [PATCH 3/7] st/xlib: include p_compiler.h to get PUBLIC definition

Brian Paul brianp at vmware.com
Tue Mar 3 20:07:10 PST 2015


To prevent build break with following changes.
---
 src/gallium/state_trackers/glx/xlib/glx_getproc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/state_trackers/glx/xlib/glx_getproc.c
index af7afdb..e7564ad 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"
 
-- 
1.9.1



More information about the mesa-dev mailing list