diff options
Diffstat (limited to 'libs/pbd/pbd')
-rw-r--r-- | libs/pbd/pbd/floating.h | 1 | ||||
-rw-r--r-- | libs/pbd/pbd/system_exec.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libs/pbd/pbd/floating.h b/libs/pbd/pbd/floating.h index 86ab4a68f0..d7d6349a34 100644 --- a/libs/pbd/pbd/floating.h +++ b/libs/pbd/pbd/floating.h @@ -28,6 +28,7 @@ #include <stdint.h> +#include <cstdlib> // abs(int) #include <cmath> #include "pbd/libpbd_visibility.h" diff --git a/libs/pbd/pbd/system_exec.h b/libs/pbd/pbd/system_exec.h index d5b14c8273..a8a30ba18d 100644 --- a/libs/pbd/pbd/system_exec.h +++ b/libs/pbd/pbd/system_exec.h @@ -37,6 +37,9 @@ #undef interface // VKamyshniy: to avoid "include/giomm-2.4/giomm/dbusmessage.h:270:94: error: expected ',' or '...' before 'struct'" #endif +#else // posix +#include <sys/types.h> +#include <sys/wait.h> /* WNOHANG is part of the exposed API */ #endif #include <string> |