summaryrefslogtreecommitdiff
path: root/tests/bugs/r300-readcache.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-05-15 16:20:56 -0600
committerBrian Paul <brianp@vmware.com>2009-05-15 16:21:16 -0600
commitd5c3408cd0c8273d04b8d5baa1086496aa97a82a (patch)
tree827cd90fdfe8c9dac3c316e802f70fa74b00a9fb /tests/bugs/r300-readcache.c
parent5cb625c75572df96225228d5726288ca4280b506 (diff)
Reorder includes in bugs tests.
Include the standard headers before including glut.h. This fixes this MSVC compile error. error C2381: 'exit' : redefinition; __declspec(noreturn)
Diffstat (limited to 'tests/bugs/r300-readcache.c')
-rw-r--r--tests/bugs/r300-readcache.c10
1 files changed, 5 insertions, 5 deletions
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"