diff --git a/lib/external/fexec.c b/lib/external/fexec.c index cbdb0d50..00eff213 100644 --- a/lib/external/fexec.c +++ b/lib/external/fexec.c @@ -28,6 +28,7 @@ */ #define _BSD_SOURCE /* for vfork and chroot */ +#define _DEFAULT_SOURCE /* glibc>=2.20 */ #include #include @@ -37,6 +38,7 @@ #include #include +#undef _DEFAULT_SOURCE #undef _BSD_SOURCE #include "xbps_api_impl.h"