From e64a8cebfb67505618a58f3ae21797667bb8e3ae Mon Sep 17 00:00:00 2001 From: mhsjlw Date: Thu, 14 Jun 2018 17:13:22 -0400 Subject: [PATCH] Add macOS-required headers --- src/EnvPathUtil.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/EnvPathUtil.cpp b/src/EnvPathUtil.cpp index d5cf2b3..6b2be37 100644 --- a/src/EnvPathUtil.cpp +++ b/src/EnvPathUtil.cpp @@ -6,6 +6,11 @@ #include #include +#ifdef __APPLE__ +#include +#include +#endif + std::string EnvPathUtil::getAppDir() { #ifdef __APPLE__ char buf[MAXPATHLEN]; @@ -61,4 +66,4 @@ std::string EnvPathUtil::getDataHome() { if (env != nullptr) return env; return getHomeDir() + "/.local/share"; -} \ No newline at end of file +}