From 0887aee8c54d0ed51bb2031431e2bcdafebb4c6e Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:23:19 +0200 Subject: 5.13 --- wx+/shell_execute.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wx+/shell_execute.h') diff --git a/wx+/shell_execute.h b/wx+/shell_execute.h index 2531c91f..a07f40cb 100644 --- a/wx+/shell_execute.h +++ b/wx+/shell_execute.h @@ -7,6 +7,7 @@ #ifndef EXECUTE_HEADER_23482134578134134 #define EXECUTE_HEADER_23482134578134134 +#include #include #ifdef FFS_WIN @@ -16,7 +17,7 @@ #include //includes "windows.h" //#include -#elif defined FFS_LINUX +#elif defined FFS_LINUX || defined FFS_MAC #include #include #include @@ -82,7 +83,7 @@ void shellExecute(const Zstring& command, ExecutionType type = EXEC_TYPE_ASYNC) ::CloseHandle(execInfo.hProcess); } -#elif defined FFS_LINUX +#elif defined FFS_LINUX || defined FFS_MAC if (type == EXEC_TYPE_SYNC) { //Posix::system - execute a shell command -- cgit