summaryrefslogtreecommitdiff
path: root/src/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.c')
-rw-r--r--src/graph.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graph.c b/src/graph.c
index 9a69ba5..9dc778b 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -1,5 +1,10 @@
#include <stdlib.h>
+
+#ifdef __APPLE__
+#include <OpenGL/gl.h>
+#else
#include <GL/gl.h>
+#endif
#include "graph.h"