aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 728d4d1eb..f8ddcd581 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -20,6 +20,10 @@
#ifndef G10_CONFIG_H
#define G10_CONFIG_H
+/* need this, because some autoconf tests rely on this (e.g. stpcpy)
+ * and it should be used for new programs
+ */
+#define _GNU_SOURCE 1
@TOP@