aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/CgShaderProgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/ogl/CgShaderProgram.c')
-rw-r--r--src/native/ogl/CgShaderProgram.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/native/ogl/CgShaderProgram.c b/src/native/ogl/CgShaderProgram.c
index bd51b60..e610d3b 100644
--- a/src/native/ogl/CgShaderProgram.c
+++ b/src/native/ogl/CgShaderProgram.c
@@ -10,9 +10,8 @@
* $State$
*/
-#if defined(LINUX)
-#define _GNU_SOURCE 1
-#endif
+/* j3dsys.h needs to be included before any other include files to suppres VC warning */
+#include "j3dsys.h"
#include <stdio.h>
#include <stdlib.h>