1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Make sure AvailabilityMacros.h is included for build systems that do not include it by default.

- Required for macros such as MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_MIN_REQUIRED, etc.
This commit is contained in:
Christopher Baker 2014-07-21 12:29:38 -05:00
parent 17aac9b77d
commit 3f0d49a602

View File

@ -27,6 +27,7 @@
#include <sys/time.h>
#include <time.h>
#ifdef __MACH__
#include <AvailabilityMacros.h>
#include <mach/clock.h>
#include <mach/mach.h>
#endif