diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-11-13 12:45:50 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-13 17:05:16 +0100 |
commit | 65be3177c793bb132c36f3e6bb87c3a6947be4e0 (patch) | |
tree | 70bc8256fd4de46b912e432932d5dc807c5b4dc8 /platform/gl/gl-app.h | |
parent | af95ed2a3402ecf65ff744b45c3053bc811d4ada (diff) | |
download | mupdf-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.h | 4 |
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; |