summaryrefslogtreecommitdiff
path: root/tests/general/provoking-vertex.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/provoking-vertex.c')
-rw-r--r--tests/general/provoking-vertex.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/tests/general/provoking-vertex.c b/tests/general/provoking-vertex.c
index e87297b58..3d4fa2647 100644
--- a/tests/general/provoking-vertex.c
+++ b/tests/general/provoking-vertex.c
@@ -31,18 +31,11 @@
* Second tri using GL_LAST_VERTEX_CONVENTION_EXT.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#if defined(__APPLE__)
-#include <GLUT/glut.h>
-#else
-#include <GL/glut.h>
-#if defined(FREEGLUT)
+#include "piglit-util.h"
+
+#if !defined(__APPLE__) && defined(FREEGLUT)
#include <GL/freeglut_ext.h>
#endif
-#endif
-#include "piglit-util.h"
#ifndef APIENTRY