From 944d8f53fb958e71d4763819f9863e3de9457aa7 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 18 Oct 2015 12:45:27 +0100 Subject: [PATCH] Fix OSX compilation --- src/buffer_utils.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index 7220470b..7cc05289 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -7,6 +7,11 @@ #include #include +#if defined(__APPLE__) +#define st_mtim st_mtimespec +#endif + + namespace Kakoune {