summaryrefslogtreecommitdiff
path: root/tests/shaders/vp-bad-program.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-05-22 07:01:38 -0600
committerBrian Paul <brianp@vmware.com>2009-05-22 07:01:38 -0600
commit79ed1a9486b3ee11476fb5e015d7a1bd8c90ff8f (patch)
tree7df803e709ab3e7395ea09c631d369f657fce063 /tests/shaders/vp-bad-program.c
parentad6d87e37ecaeded22d0a06fb22f04a264df9385 (diff)
MSVC fixes for shaders tests
This patch fixes some shaders tests compilation errors with MSVC. Reorder includes. Remove inclusion of unistd.h. Move variable declarations to start of a block.
Diffstat (limited to 'tests/shaders/vp-bad-program.c')
-rw-r--r--tests/shaders/vp-bad-program.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/shaders/vp-bad-program.c b/tests/shaders/vp-bad-program.c
index 6e2882513..f69c3a532 100644
--- a/tests/shaders/vp-bad-program.c
+++ b/tests/shaders/vp-bad-program.c
@@ -34,6 +34,11 @@
* Wine likes to do that to us to see how strict we are on the VP language.
*/
+#include <assert.h>
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+
#define GL_GLEXT_PROTOTYPES
#if defined(__APPLE__)
@@ -41,11 +46,6 @@
#else
#include "GL/glut.h"
#endif
-#include <assert.h>
-#include <string.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
#include "piglit-util.h"