summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoaautoreleasepool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaautoreleasepool.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoaautoreleasepool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaautoreleasepool.h b/src/plugins/platforms/cocoa/qcocoaautoreleasepool.h
index 31f9ea3ae2..8b2a9f3788 100644
--- a/src/plugins/platforms/cocoa/qcocoaautoreleasepool.h
+++ b/src/plugins/platforms/cocoa/qcocoaautoreleasepool.h
@@ -35,9 +35,10 @@
#define QCOCOAAUTORELEASEPOOL_H
#undef slots
-
+#include <qglobal.h>
#include <Cocoa/Cocoa.h>
+QT_BEGIN_NAMESPACE
class QCocoaAutoReleasePool
{
public:
@@ -47,5 +48,6 @@ public:
private:
NSAutoreleasePool *pool;
};
+QT_END_NAMESPACE
#endif // QCOCOAAUTORELEASEPOOL_H