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/crash-texparameter-before-teximage.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/crash-texparameter-before-teximage.c')
-rw-r--r-- | tests/bugs/crash-texparameter-before-teximage.c | 10 |
1 files changed, 5 insertions, 5 deletions
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" |