diff options
Diffstat (limited to 'net-mgmt/nagios4/files/patch-lib__runcmd.c')
-rw-r--r-- | net-mgmt/nagios4/files/patch-lib__runcmd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-lib__runcmd.c b/net-mgmt/nagios4/files/patch-lib__runcmd.c new file mode 100644 index 000000000000..359d68b47c9b --- /dev/null +++ b/net-mgmt/nagios4/files/patch-lib__runcmd.c @@ -0,0 +1,11 @@ +--- lib/runcmd.c.orig 2014-08-12 15:00:01 UTC ++++ lib/runcmd.c +@@ -36,7 +36,7 @@ + #endif + + /* Determine whether we have setenv()/unsetenv() (see setenv(3) on Linux) */ +-#if _BSD_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 ++#if defined(__DragonFly__) || __FreeBSD__ || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 + # define HAVE_SETENV + #endif + |