aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac.h')
-rw-r--r--src/mac.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mac.h b/src/mac.h
index 10e37c5..7473231 100644
--- a/src/mac.h
+++ b/src/mac.h
@@ -9,6 +9,8 @@
#import <Cocoa/Cocoa.h>
+#include <mach/mach_time.h>
+
#include <stdint.h>
@interface PuglWrapperView : NSView<NSTextInputClient>
@@ -25,8 +27,9 @@
@end
struct PuglWorldInternalsImpl {
- NSApplication* app;
- NSAutoreleasePool* autoreleasePool;
+ NSApplication* app;
+ NSAutoreleasePool* autoreleasePool;
+ struct mach_timebase_info timebaseInfo;
};
struct PuglInternalsImpl {