From 965e549b8dc08f0692ae8f5b33cbe957118c46bd Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 20 Sep 2016 10:52:56 +0000 Subject: Disable ppoll(2) on FreeBSD < 10.2 --- src/subprocess-posix.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/subprocess-posix.cc b/src/subprocess-posix.cc index 5ffe85b..3c81b7f 100644 --- a/src/subprocess-posix.cc +++ b/src/subprocess-posix.cc @@ -24,6 +24,13 @@ #include #include +#ifdef __FreeBSD__ +# include +# if defined USE_PPOLL && __FreeBSD_version < 1002000 +# undef USE_PPOLL +# endif +#endif + extern char** environ; #include "util.h" -- cgit v0.12