diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index 63df6f72e44..2496797fc23 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -138,6 +138,7 @@ ZEND_API UChar *_eustrndup(const UChar *s, int32_t length ZEND_FILE_LINE_DC ZEND #else +#undef _GNU_SOURCE #define _GNU_SOURCE #include #undef _GNU_SOURCE