summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_malloc.c b/test/test_malloc.c
index 5803f93..7be62ff 100644
--- a/test/test_malloc.c
+++ b/test/test_malloc.c
@@ -14,7 +14,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef __APPLE__
#define _GNU_SOURCE
+#endif
#include "test_malloc.h"