summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/demos/isosurf.c1
-rw-r--r--src/mesa/main/nvvertexec.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c
index b7c151586c3..1ee738d17a2 100644
--- a/progs/demos/isosurf.c
+++ b/progs/demos/isosurf.c
@@ -35,6 +35,7 @@
#endif
#define GL_GLEXT_LEGACY
#include "GL/glut.h"
+#include "GL/glext.h"
#include "readtex.c" /* I know, this is a hack. KW: me too. */
#define TEXTURE_FILE "../images/reflect.rgb"
diff --git a/src/mesa/main/nvvertexec.c b/src/mesa/main/nvvertexec.c
index e41bdfb8503..580d04abca5 100644
--- a/src/mesa/main/nvvertexec.c
+++ b/src/mesa/main/nvvertexec.c
@@ -35,6 +35,7 @@
#include "mtypes.h"
#include "nvvertexec.h"
#include "nvvertprog.h"
+#include "program.h"
#include "math/m_matrix.h"