aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index a283283..4a44dab 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -1,5 +1,5 @@
/*
- Copyright 2012-2017 David Robillard <http://drobilla.net>
+ Copyright 2012-2019 David Robillard <http://drobilla.net>
Copyright 2017 Hanspeter Portner <dev@open-music-kontrollers.ch>
Permission to use, copy, modify, and/or distribute this software for any
@@ -24,13 +24,15 @@
#include "pugl/gl.h"
#include "pugl/pugl_internal.h"
+#ifdef PUGL_HAVE_CAIRO
+#include "pugl/cairo_gl.h"
+#endif
+
#import <Cocoa/Cocoa.h>
#include <stdlib.h>
#include <time.h>
-#undef PUGL_HAVE_CAIRO
-
@class PuglOpenGLView;
struct PuglInternalsImpl {