Commit 195e81599a439e0a12889b28003d20cfe98a21cf
authorMichel Pollet <buserror@gmail.com>
Fri, 2 Mar 2012 14:28:45 +0000 (14:28 +0000)
committerMichel Pollet <buserror@gmail.com>
Fri, 2 Mar 2012 15:00:26 +0000 (15:00 +0000)
Uses the proper include file on OSX

Signed-off-by: Michel Pollet <buserror@gmail.com>
examples/parts/hd44780_glut.c

index 56940f5824e330258508d83f92b39f7f090a148b..b24a9f4917886fa56bc83fdb006b68e7175bddfc 100644 (file)
 
 #include "hd44780_glut.h"
 
-#include <GL/gl.h>
-#include <GL/glu.h>
+#if __APPLE__
+#include <GLUT/glut.h>
+#else
+#include <GL/glut.h>
+#endif
 
 #include "font.h"      // generated with gimp