diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:30:38 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:30:38 -0400 |
| commit | 9ca063f42b3e5559bb9b7bc2762004ebec38451b (patch) | |
| tree | 932082a4cdc697ae1ee94173fb78bf82dc20ed82 /balls.c | |
| parent | 68212636f523e060880c1e21f7ae9bc4abada571 (diff) | |
| download | balls-9ca063f42b3e5559bb9b7bc2762004ebec38451b.zip | |
conditionally include glx.h
Diffstat (limited to 'balls.c')
| -rw-r--r-- | balls.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |