diff --git a/Projects/CodeBlocks/SleepyHead.layout b/Projects/CodeBlocks/SleepyHead.layout
index ac1e38ff..565ba2a3 100644
--- a/Projects/CodeBlocks/SleepyHead.layout
+++ b/Projects/CodeBlocks/SleepyHead.layout
@@ -16,10 +16,10 @@
-
+
-
+
diff --git a/src/graphs/gl_pbuffer.cpp b/src/graphs/gl_pbuffer.cpp
index 86511651..59226cca 100644
--- a/src/graphs/gl_pbuffer.cpp
+++ b/src/graphs/gl_pbuffer.cpp
@@ -5,7 +5,13 @@ Author: Mark Watkins
License: GPL
*/
#include "gl_pbuffer.h"
+
+#if defined(__DARWIN__)
+#include
+#else
#include
+#endif
+
#include
#include
#include