diff options
-rw-r--r-- | kilo.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -34,6 +34,14 @@ #define KILO_VERSION "0.0.1" +#ifdef __APPLE__ +#include <AvailabilityMacros.h> +#endif + +#ifdef __linux__ +#include <features.h> +#endif + #ifdef __GLIBC__ #define _POSIX_C_SOURCE 200809L #endif |