summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 723e53f52..31e7990c3 100644
--- a/config.h.in
+++ b/config.h.in
@@ -21,6 +21,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
/* Define to empty if the keyword does not work. */