diff options
author | Vinson Lee <vlee@vmware.com> | 2009-05-15 16:20:56 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-05-15 16:21:16 -0600 |
commit | d5c3408cd0c8273d04b8d5baa1086496aa97a82a (patch) | |
tree | 827cd90fdfe8c9dac3c316e802f70fa74b00a9fb /tests/bugs/r300-readcache.c | |
parent | 5cb625c75572df96225228d5726288ca4280b506 (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.c | 10 |
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" |