refmod_test
diff refmod_test.c @ 1:7e911c994ef2
should work on mac now
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 18 Feb 2016 23:21:49 +0200 |
parents | b469e6a72636 |
children |
line diff
1.1 --- a/refmod_test.c Thu Feb 18 23:15:43 2016 +0200 1.2 +++ b/refmod_test.c Thu Feb 18 23:21:49 2016 +0200 1.3 @@ -1,7 +1,12 @@ 1.4 #include <stdio.h> 1.5 #include <stdlib.h> 1.6 #include <string.h> 1.7 +#include <GL/glew.h> 1.8 +#ifdef __APPLE__ 1.9 +#include <GLUT/glut.h> 1.10 +#else 1.11 #include <GL/glut.h> 1.12 +#endif 1.13 #include "sdr.h" 1.14 1.15 #ifdef FREEGLUT