aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dirmngr/ldap-wrapper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c
index 8d03ca756..9db8a9fbe 100644
--- a/dirmngr/ldap-wrapper.c
+++ b/dirmngr/ldap-wrapper.c
@@ -69,6 +69,9 @@
#define pth_close(fd) close(fd)
#endif
+#ifndef USE_LDAPWRAPPER
+# error This module is not expected to be build.
+#endif
/* In case sysconf does not return a value we need to have a limit. */
#ifdef _POSIX_OPEN_MAX