From 04afe969a00046fedfcda0c8c0647bda918f58fc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Jun 2018 15:41:34 +0530 Subject: [PATCH] Fix building on macOS with termios.h --- kitty/data-types.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kitty/data-types.c b/kitty/data-types.c index bd5134680..b92f54fa9 100644 --- a/kitty/data-types.c +++ b/kitty/data-types.c @@ -11,8 +11,6 @@ #include #undef _DARWIN_C_SOURCE #endif -#define _DEFAULT_SOURCE -#include #include "data-types.h" #include "control-codes.h" #include "modes.h" @@ -23,6 +21,7 @@ #ifdef WITH_PROFILER #include #endif +#include /* To millisecond (10^-3) */ #define SEC_TO_MS 1000