summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 18:30:38 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 18:30:38 -0400
commit9ca063f42b3e5559bb9b7bc2762004ebec38451b (patch)
tree932082a4cdc697ae1ee94173fb78bf82dc20ed82 /balls.c
parent68212636f523e060880c1e21f7ae9bc4abada571 (diff)
downloadballs-9ca063f42b3e5559bb9b7bc2762004ebec38451b.zip
conditionally include glx.h
Diffstat (limited to 'balls.c')
-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"