* engine-gpgsm.c: Include more headers so that NULL and mk_error

is defined even with an undefined GPGSM_PATH.
This commit is contained in:
Werner Koch 2001-11-22 10:29:52 +00:00
parent 66f4b09b45
commit 9ece643cba
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-11-22 Werner Koch <wk@gnupg.org>
* 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 <marcus@g10code.de> 2001-11-22 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (gpg_inbound_handler, write_mem_data, write_cb_data, * rungpg.c (gpg_inbound_handler, write_mem_data, write_cb_data,

View File

@ -28,17 +28,17 @@
#define ENABLE_GPGSM 1 #define ENABLE_GPGSM 1
#endif #endif
#ifdef ENABLE_GPGSM
#include <sys/types.h> #include <sys/types.h>
#include <assert.h> #include <assert.h>
#ifdef ENABLE_GPGSM
/* FIXME */ /* FIXME */
#include "../assuan/assuan-defs.h" #include "../assuan/assuan-defs.h"
#undef xtrymalloc #undef xtrymalloc
#undef xtrycalloc #undef xtrycalloc
#undef xtryrealloc #undef xtryrealloc
#undef xfree #undef xfree
#endif /*ENABLE_GPGSM*/
#include "gpgme.h" #include "gpgme.h"
#include "util.h" #include "util.h"
@ -47,6 +47,8 @@
#include "wait.h" #include "wait.h"
#include "io.h" #include "io.h"
#ifdef ENABLE_GPGSM
#include "engine-gpgsm.h" #include "engine-gpgsm.h"
#include "assuan.h" #include "assuan.h"