summaryrefslogtreecommitdiffstats
path: root/tools/gpgparsemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpgparsemail.c')
-rw-r--r--tools/gpgparsemail.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/gpgparsemail.c b/tools/gpgparsemail.c
index da56093c3..566f5747f 100644
--- a/tools/gpgparsemail.c
+++ b/tools/gpgparsemail.c
@@ -24,6 +24,9 @@
for the content of the line. Several options are available to
scrutinize the message. S/MIME and OpenPGP support is included. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
@@ -145,6 +148,7 @@ xstrdup (const char *string)
return p;
}
+#ifndef HAVE_STPCPY
static char *
stpcpy (char *a,const char *b)
{
@@ -154,7 +158,7 @@ stpcpy (char *a,const char *b)
return (char*)a;
}
-
+#endif
static int
run_gnupg (int smime, int sig_fd, int data_fd, int *close_list)