aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wavegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wavegen.c b/src/wavegen.c
index 740ed3c..c1a2137 100644
--- a/src/wavegen.c
+++ b/src/wavegen.c
@@ -17,7 +17,7 @@
along with this software. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE 1
+#define _POSIX_C_SOURCE 200809L // strdup
#include <stdlib.h>
#include <stdio.h>