aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/gpg-agent.c3
-rw-r--r--agent/preset-passphrase.c1
-rw-r--r--agent/protect-tool.c1
3 files changed, 1 insertions, 4 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 740af7551..0a8232f28 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -49,8 +49,7 @@
#endif
#include <npth.h>
-#define JNLIB_NEED_LOG_LOGV
-#define JNLIB_NEED_AFLOCAL
+#define GNUPG_COMMON_NEED_AFLOCAL
#include "agent.h"
#include <assuan.h> /* Malloc hooks and socket wrappers. */
diff --git a/agent/preset-passphrase.c b/agent/preset-passphrase.c
index 6378d7a56..1ebf1812a 100644
--- a/agent/preset-passphrase.c
+++ b/agent/preset-passphrase.c
@@ -44,7 +44,6 @@
# include <windows.h> /* To initialize the sockets. fixme */
#endif
-#define JNLIB_NEED_LOG_LOGV
#include "agent.h"
#include "simple-pwquery.h"
#include "i18n.h"
diff --git a/agent/protect-tool.c b/agent/protect-tool.c
index dc363f2ca..03dbda939 100644
--- a/agent/protect-tool.c
+++ b/agent/protect-tool.c
@@ -38,7 +38,6 @@
#include <fcntl.h> /* for setmode() */
#endif
-#define JNLIB_NEED_LOG_LOGV
#include "agent.h"
#include "i18n.h"
#include "get-passphrase.h"