summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/glx
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-12 19:54:36 -0400
committerMarek Olšák <[email protected]>2018-04-12 19:55:01 -0400
commit6d6b1b3890a24048a702c3a032ccfa29644bd580 (patch)
treee3e82f0d3f15239136d16fcd3292dae016a6b606 /src/gallium/state_trackers/glx
parent43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 (diff)
Fix scons build
Diffstat (limited to 'src/gallium/state_trackers/glx')
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_api.c2
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_usefont.c4
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_api.c4
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_st.c1
4 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c
index 3bd07c280d0..1334b35e8c9 100644
--- a/src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/src/gallium/state_trackers/glx/xlib/glx_api.c
@@ -39,6 +39,8 @@
#include <GL/glxproto.h>
#include "xm_api.h"
+#include "main/imports.h"
+#include "main/errors.h"
/* An "Atrribs/Attribs" typo was fixed in glxproto.h in Nov 2014.
* This is in case we don't have the updated header.
diff --git a/src/gallium/state_trackers/glx/xlib/glx_usefont.c b/src/gallium/state_trackers/glx/xlib/glx_usefont.c
index 819d2e320d8..9d35054b44d 100644
--- a/src/gallium/state_trackers/glx/xlib/glx_usefont.c
+++ b/src/gallium/state_trackers/glx/xlib/glx_usefont.c
@@ -29,9 +29,11 @@
* Fake implementation of glXUseXFont().
*/
-
+#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
#include <GL/glx.h>
+#include "main/errors.h"
/* Some debugging info. */
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c
index e8cbb618cea..e4c9408d0db 100644
--- a/src/gallium/state_trackers/glx/xlib/xm_api.c
+++ b/src/gallium/state_trackers/glx/xlib/xm_api.c
@@ -61,12 +61,16 @@
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
#include "pipe/p_state.h"
+#include "state_tracker/st_api.h"
#include "util/u_atomic.h"
#include "util/u_inlines.h"
#include "hud/hud_context.h"
+#include "main/errors.h"
+#include "main/imports.h"
+
#include "xm_public.h"
#include <GL/glx.h>
diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.c b/src/gallium/state_trackers/glx/xlib/xm_st.c
index 946b5dcff29..9def70fc746 100644
--- a/src/gallium/state_trackers/glx/xlib/xm_st.c
+++ b/src/gallium/state_trackers/glx/xlib/xm_st.c
@@ -30,6 +30,7 @@
#include "util/u_inlines.h"
#include "util/u_atomic.h"
+#include "util/u_memory.h"
struct xmesa_st_framebuffer {
XMesaDisplay display;