summaryrefslogtreecommitdiff
path: root/src/glancillary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glancillary.h')
-rw-r--r--src/glancillary.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glancillary.h b/src/glancillary.h
index 4fa63a2..7a258ab 100644
--- a/src/glancillary.h
+++ b/src/glancillary.h
@@ -1,6 +1,12 @@
#ifndef _GLANCILLARY_H_
#define _GLANCILLARY_H_
+#ifdef __APPLE__
+#include <OpenGL/gl.h>
+#else
+#include <GL/gl.h>
+#endif
+
void glaInit(void);
void glaCameraRotatef(GLfloat *cmat, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
void glaCameraTranslatef(GLfloat *cmat, GLfloat x, GLfloat y, GLfloat z);