From 5ced7e5cbe3fa30c4a39f55b3a90f4b39d2ab8ca Mon Sep 17 00:00:00 2001 From: Ian Rees Date: Wed, 3 Jun 2015 20:55:19 +1200 Subject: [PATCH] Add #include that's required with Homebrew --- src/Gui/GuiApplicationNativeEventAware.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gui/GuiApplicationNativeEventAware.h b/src/Gui/GuiApplicationNativeEventAware.h index 0bab3aae1..c03312388 100644 --- a/src/Gui/GuiApplicationNativeEventAware.h +++ b/src/Gui/GuiApplicationNativeEventAware.h @@ -31,6 +31,7 @@ class QMainWindow; #ifdef _USE_3DCONNEXION_SDK + #ifdef Q_WS_WIN #include "3Dconnexion/MouseParameters.h" @@ -41,7 +42,9 @@ class QMainWindow; #include #endif // Q_WS_WIN + #ifdef Q_WS_MACX +#include #include <3DconnexionClient/ConnexionClientAPI.h> extern OSErr InstallConnexionHandlers(ConnexionMessageHandlerProc messageHandler, ConnexionAddedHandlerProc addedHandler, ConnexionRemovedHandlerProc removedHandler) __attribute__((weak_import)); @@ -49,6 +52,7 @@ extern UInt16 RegisterConnexionClient(UInt32 signature, UInt8 *name, UInt16 mode extern void UnregisterConnexionClient(UInt16 clientID) __attribute__((weak_import)); extern void CleanupConnexionHandlers(void) __attribute__((weak_import)); #endif // Q_WS_MACX + #endif // _USE_3DCONNEXION_SDK namespace Gui