fix compilation on MacOS

This commit is contained in:
Maxime Coste 2012-06-05 13:31:14 +00:00
parent 546a999416
commit 61bd77d529
2 changed files with 3 additions and 5 deletions

View File

@ -15,6 +15,9 @@
#include "completion.hh" #include "completion.hh"
#include "shell_manager.hh" #include "shell_manager.hh"
#if defined(__APPLE__)
#include <mach-o/dyld.h>
#endif
namespace Kakoune namespace Kakoune
{ {

View File

@ -22,14 +22,9 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#if defined(__APPLE__)
#include <mach-o/dyld.h>
#endif
using namespace Kakoune; using namespace Kakoune;
using namespace std::placeholders; using namespace std::placeholders;
namespace Kakoune namespace Kakoune
{ {