summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--balls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/balls.c b/balls.c
index 2a7a413..f8f95cf 100644
--- a/balls.c
+++ b/balls.c
@@ -6,8 +6,10 @@
#include <string.h>
#include <GL/glew.h>
#include <GL/glut.h>
-#include <GL/glx.h>
#include <CL/cl_gl.h>
+#ifndef WINDOWS
+#include <GL/glx.h>
+#endif
#include "sysfatal.h"
#include "balls.h"