fix #82: compile issue with SDK 4.1 - thanks to tblanchard

This commit is contained in:
matthias.ringwald 2010-09-24 19:22:55 +00:00
parent a8709ccb96
commit 377e8340f8

View File

@ -63,6 +63,11 @@
#include <Foundation/Foundation.h>
#include <CoreFoundation/CoreFoundation.h>
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_2_0
// compile issue fix
#undef NSEC_PER_USEC
#undef USEC_PER_SEC
#undef NSEC_PER_SEC
// end of fix
#include <mach/mach.h>
#define IOKIT
#include <device/device_types.h>