summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/bugs/crash-cubemap-order.c10
-rw-r--r--tests/bugs/crash-texparameter-before-teximage.c10
-rw-r--r--tests/bugs/fdo10370.c6
-rw-r--r--tests/bugs/fdo14575.c8
-rw-r--r--tests/bugs/r300-readcache.c10
5 files changed, 22 insertions, 22 deletions
diff --git a/tests/bugs/crash-cubemap-order.c b/tests/bugs/crash-cubemap-order.c
index 70202bf8b..06ea78ad6 100644
--- a/tests/bugs/crash-cubemap-order.c
+++ b/tests/bugs/crash-cubemap-order.c
@@ -6,16 +6,16 @@
* This bug existed in the R300 driver and was triggered by Sauerbraten.
*/
-#if defined(__APPLE__)
-#include <GLUT/glut.h>
-#else
-#include "GL/glut.h"
-#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#if defined(__APPLE__)
+#include <GLUT/glut.h>
+#else
+#include "GL/glut.h"
+#endif
#include "piglit-util.h"
diff --git a/tests/bugs/crash-texparameter-before-teximage.c b/tests/bugs/crash-texparameter-before-teximage.c
index 74ee80355..5eefc5d59 100644
--- a/tests/bugs/crash-texparameter-before-teximage.c
+++ b/tests/bugs/crash-texparameter-before-teximage.c
@@ -7,16 +7,16 @@
* This bug was originally triggered by Glest.
*/
-#if defined(__APPLE__)
-#include <GLUT/glut.h>
-#else
-#include "GL/glut.h"
-#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#if defined(__APPLE__)
+#include <GLUT/glut.h>
+#else
+#include "GL/glut.h"
+#endif
#include "piglit-util.h"
diff --git a/tests/bugs/fdo10370.c b/tests/bugs/fdo10370.c
index 780a358a3..30c3a7a28 100644
--- a/tests/bugs/fdo10370.c
+++ b/tests/bugs/fdo10370.c
@@ -3,14 +3,14 @@
* http://bugs.freedesktop.org/show_bug.cgi?id=10370
*/
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
static int Automatic = 0;
diff --git a/tests/bugs/fdo14575.c b/tests/bugs/fdo14575.c
index 1e9a39dc9..265bac8fa 100644
--- a/tests/bugs/fdo14575.c
+++ b/tests/bugs/fdo14575.c
@@ -33,15 +33,15 @@
#define GL_GLEXT_PROTOTYPES
+#include <assert.h>
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
-#include <assert.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
static int Automatic = 0;
diff --git a/tests/bugs/r300-readcache.c b/tests/bugs/r300-readcache.c
index cb73b45f7..085e22e57 100644
--- a/tests/bugs/r300-readcache.c
+++ b/tests/bugs/r300-readcache.c
@@ -15,16 +15,16 @@
* so this test is always automatic.
*/
-#if defined(__APPLE__)
-#include <GLUT/glut.h>
-#else
-#include "GL/glut.h"
-#endif
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#if defined(__APPLE__)
+#include <GLUT/glut.h>
+#else
+#include "GL/glut.h"
+#endif
#include "piglit-util.h"