projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
1fed0c6
)
Commit
195e81599a439e0a12889b28003d20cfe98a21cf
author
Michel Pollet
<buserror@gmail.com>
Fri, 2 Mar 2012 14:28:45 +0000
(14:28 +0000)
committer
Michel 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
patch
|
blob
|
history
|
download
diff --git
a/examples/parts/hd44780_glut.c
b/examples/parts/hd44780_glut.c
index 56940f5824e330258508d83f92b39f7f090a148b..b24a9f4917886fa56bc83fdb006b68e7175bddfc 100644
(file)
--- a/
examples/parts/hd44780_glut.c
+++ b/
examples/parts/hd44780_glut.c
@@
-22,8
+22,11
@@
#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