From d8bcbb131454ca1068bc6fa8a11fdabdaf86988b Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Dec 2017 04:56:37 -0600 Subject: #defined _XOPEN_SOURCE so NetBSD gets strdup --- src/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common.h b/src/common.h index 458f73f..0ead60b 100644 --- a/src/common.h +++ b/src/common.h @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE #include #include "config.h" #include "math.h" -- cgit v1.2.3