summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 728d4d1e..f8ddcd58 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@