summaryrefslogtreecommitdiff
path: root/platform/gl/gl-app.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-13 12:45:50 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-13 17:05:16 +0100
commit65be3177c793bb132c36f3e6bb87c3a6947be4e0 (patch)
tree70bc8256fd4de46b912e432932d5dc807c5b4dc8 /platform/gl/gl-app.h
parentaf95ed2a3402ecf65ff744b45c3053bc811d4ada (diff)
downloadmupdf-65be3177c793bb132c36f3e6bb87c3a6947be4e0.tar.xz
gl: Fix GLUT build on MacOS X.
Diffstat (limited to 'platform/gl/gl-app.h')
-rw-r--r--platform/gl/gl-app.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/gl/gl-app.h b/platform/gl/gl-app.h
index 59252b94..2aea2aed 100644
--- a/platform/gl/gl-app.h
+++ b/platform/gl/gl-app.h
@@ -7,7 +7,11 @@ int win_open_file(char *buf, int len);
#include "mupdf/fitz.h"
#include "mupdf/ucdn.h"
+#ifndef __APPLE__
#include <GL/freeglut.h>
+#else
+#include <GLUT/glut.h>
+#endif
extern fz_context *ctx;