aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgparsemail.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-05-23 16:19:43 +0000
committerWerner Koch <[email protected]>2006-05-23 16:19:43 +0000
commitfbe4ac37f6d3e7870e26caffb0d21c3c77198297 (patch)
treef21028be87bda6df4f2f1e3ae105feeb5a2eb158 /tools/gpgparsemail.c
parent2006-05-19 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-fbe4ac37f6d3e7870e26caffb0d21c3c77198297.tar.gz
gnupg-fbe4ac37f6d3e7870e26caffb0d21c3c77198297.zip
g10/ does build again.
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)