<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">diff --git a/src/gui/3dviewer.cpp b/src/gui/3dviewer.cpp
index 7a016bb..00e14e6 100644
--- src/gui/3dviewer.cpp
+++ src/gui/3dviewer.cpp
@@ -27,10 +27,7 @@
 #include "../gle/gle-block.h"
 #include "../gle/surface/gsurface.h"
 
-#ifdef HAVE_LIBGLU_H
-	#include &lt;GL/glu.h&gt;
-#endif
-
+#include &lt;glu.h&gt;
 #include &lt;math.h&gt;
 
 QGLE3DWidget::QGLE3DWidget(QWidget *parent, GLEInterface* iface)
diff --git a/src/gui/qgle.pro.in b/src/gui/qgle.pro.in
index cd33a61..46d350b 100644
--- src/gui/qgle.pro.in
+++ src/gui/qgle.pro.in
@@ -129,6 +129,7 @@ macx {
     ICON      += images/gle.icns
     SOURCES   += macspecific.cpp
     LIBS      += -framework Carbon
+    LIBS      += -framework OpenGL
 }
 
 DISTFILES += readme.txt \
@@ -177,7 +178,7 @@ DESTDIR = ../../build/bin
 
 # add the "lib" directory to the search path of the linker
 unix {
-	LIBS += @QT_RPATH@ @QT_LIBGLU_LIB@
+	LIBS += @QT_RPATH@
 }
 
 QMAKE_CXXFLAGS += @QT_CPPFLAGS@
</pre></body></html>