From: Werner Koch Date: Thu, 22 Nov 2001 10:29:52 +0000 (+0000) Subject: * engine-gpgsm.c: Include more headers so that NULL and mk_error X-Git-Tag: gpgme-1.2.0@1385~1251 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1057d2ddf72e044fd349c3fd823b73b9fd22056;p=gpgme.git * engine-gpgsm.c: Include more headers so that NULL and mk_error is defined even with an undefined GPGSM_PATH. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index d270752..fb2ab2d 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2001-11-22 Werner Koch + + * engine-gpgsm.c: Include more headers so that NULL and mk_error + is defined even with an undefined GPGSM_PATH. + 2001-11-22 Marcus Brinkmann * rungpg.c (gpg_inbound_handler, write_mem_data, write_cb_data, diff --git a/trunk/gpgme/engine-gpgsm.c b/trunk/gpgme/engine-gpgsm.c index 87a0039..a27b354 100644 --- a/trunk/gpgme/engine-gpgsm.c +++ b/trunk/gpgme/engine-gpgsm.c @@ -28,17 +28,17 @@ #define ENABLE_GPGSM 1 #endif -#ifdef ENABLE_GPGSM - #include #include +#ifdef ENABLE_GPGSM /* FIXME */ #include "../assuan/assuan-defs.h" #undef xtrymalloc #undef xtrycalloc #undef xtryrealloc #undef xfree +#endif /*ENABLE_GPGSM*/ #include "gpgme.h" #include "util.h" @@ -47,6 +47,8 @@ #include "wait.h" #include "io.h" +#ifdef ENABLE_GPGSM + #include "engine-gpgsm.h" #include "assuan.h"