From 195e81599a439e0a12889b28003d20cfe98a21cf Mon Sep 17 00:00:00 2001
From: Michel Pollet <buserror@gmail.com>
Date: Fri, 2 Mar 2012 14:28:45 +0000
Subject: [PATCH] examples: Updated LCD part for OSX

Uses the proper include file on OSX

Signed-off-by: Michel Pollet <buserror@gmail.com>
---
 examples/parts/hd44780_glut.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/examples/parts/hd44780_glut.c b/examples/parts/hd44780_glut.c
index 56940f5..b24a9f4 100644
--- 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
 
-- 
2.39.5