Fix scons build
authorMarek Olšák <marek.olsak@amd.com>
Thu, 12 Apr 2018 23:54:36 +0000 (19:54 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Apr 2018 23:55:01 +0000 (19:55 -0400)
src/compiler/glsl/glcpp/glcpp.c
src/gallium/state_trackers/glx/xlib/glx_api.c
src/gallium/state_trackers/glx/xlib/glx_usefont.c
src/gallium/state_trackers/glx/xlib/xm_api.c
src/gallium/state_trackers/glx/xlib/xm_st.c
src/mesa/drivers/x11/xm_buffer.c
src/mesa/program/ir_to_mesa.h

index 89728ffc67a331457e8c0fc4d5a4e1c3edb1a8a9..f08b14427f423a676427c8cc360c26d6d80d60ab 100644 (file)
@@ -27,6 +27,7 @@
 #include <getopt.h>
 
 #include "glcpp.h"
+#include "main/mtypes.h"
 #include "main/shaderobj.h"
 #include "util/strtod.h"
 
index 3bd07c280d0d34c12ab0c4e4fae6195138aedea5..1334b35e8c9ead46b4472a068429112fac3339c3 100644 (file)
@@ -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.
index 819d2e320d8c28ccc5753782e8c18ad3d10b4a40..9d35054b44db15671b5661fbb06eae2815e6354d 100644 (file)
  * Fake implementation of glXUseXFont().
  */
 
-
+#include <stdlib.h>
+#include <string.h>
 #include <stdio.h>
 #include <GL/glx.h>
+#include "main/errors.h"
 
 
 /* Some debugging info.  */
index e8cbb618cea470bb015315a185fe9f566f1031e2..e4c9408d0db0d66109b1705926540924a097b1df 100644 (file)
 #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>
 
index 946b5dcff299f57072f67291e71c1e9d417e13d1..9def70fc7465fc1dd01ffb96c0c2dde8f2901ec3 100644 (file)
@@ -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;
index 4d52169d777044611f65fa7a880985719919524d..97c781458587eea4ba5ea343d9c55d0acc7d95d6 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "glxheader.h"
 #include "xmesaP.h"
+#include "main/errors.h"
 #include "main/imports.h"
 #include "main/formats.h"
 #include "main/framebuffer.h"
index 7a4911cd74adfd2a715c7c8747202c292da48517..f5665e6316e1d5dc2b20206c8a719d178da74d78 100644 (file)
@@ -31,6 +31,7 @@ extern "C" {
 #endif
 
 struct gl_context;
+struct gl_program;
 struct gl_shader;
 struct gl_shader_program;
 struct gl_linked_shader;