aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
Diffstat (limited to 'sm')
-rw-r--r--sm/ChangeLog4
-rw-r--r--sm/Makefile.am4
-rw-r--r--sm/misc.c1
3 files changed, 7 insertions, 2 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog
index aa8e8671f..ffb61a294 100644
--- a/sm/ChangeLog
+++ b/sm/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-01 Werner Koch <[email protected]>
+
+ * misc.c: Include setenv.h.
+
2005-04-21 Werner Koch <[email protected]>
* gpgsm.c: New options --{enable,disable}-trusted-cert-crl-check.
diff --git a/sm/Makefile.am b/sm/Makefile.am
index f1a116ab5..e5311e967 100644
--- a/sm/Makefile.am
+++ b/sm/Makefile.am
@@ -24,7 +24,7 @@ bin_PROGRAMS = gpgsm
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(KSBA_CFLAGS) \
$(PTH_CFLAGS)
-AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/intl
+AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
include $(top_srcdir)/am/cmacros.am
@@ -52,7 +52,7 @@ gpgsm_SOURCES = \
certreqgen.c
-gpgsm_LDADD = ../jnlib/libjnlib.a ../kbx/libkeybox.a \
+gpgsm_LDADD = ../gl/libgnu.a ../jnlib/libjnlib.a ../kbx/libkeybox.a \
../common/libcommon.a \
$(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) -lgpg-error \
$(LIBINTL) $(PTH_LIBS)
diff --git a/sm/misc.c b/sm/misc.c
index 36c4dda70..cd072ce6b 100644
--- a/sm/misc.c
+++ b/sm/misc.c
@@ -31,6 +31,7 @@
#include "gpgsm.h"
#include "i18n.h"
+#include "setenv.h"
/* Setup the environment so that the pinentry is able to get all
required information. This is used prior to an exec of the