From 61bd77d529b3df0af6546c42c95f3559356a0d92 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 5 Jun 2012 13:31:14 +0000 Subject: [PATCH] fix compilation on MacOS --- src/commands.cc | 3 +++ src/main.cc | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/commands.cc b/src/commands.cc index ebcb4590..e3e8cc2e 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -15,6 +15,9 @@ #include "completion.hh" #include "shell_manager.hh" +#if defined(__APPLE__) +#include +#endif namespace Kakoune { diff --git a/src/main.cc b/src/main.cc index 74d39d9b..641196a8 100644 --- a/src/main.cc +++ b/src/main.cc @@ -22,14 +22,9 @@ #include #include -#if defined(__APPLE__) -#include -#endif - using namespace Kakoune; using namespace std::placeholders; - namespace Kakoune {