Skip to content

Instantly share code, notes, and snippets.

@metacollin
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metacollin/c138f049e41d9cc42ef9 to your computer and use it in GitHub Desktop.
Save metacollin/c138f049e41d9cc42ef9 to your computer and use it in GitHub Desktop.
Kicad Patch
--- src/osx/webview_webkit.mm.orig 2014-12-20 00:23:39.000000000 -0700
+++ src/osx/webview_webkit.mm 2014-12-20 00:35:03.000000000 -0700
@@ -28,7 +28,12 @@
#include "wx/hashmap.h"
#include "wx/filesys.h"
+#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101000
+#include <WebKit/WebKitLegacy.h>
+#else
#include <WebKit/WebKit.h>
+#endif
+
#include <WebKit/HIWebView.h>
#include <WebKit/CarbonUtils.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment