* gpgkeys_ldap.c: Include lber.h if configure determines we need it.
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 17 Mar 2005 04:02:17 +0000 (04:02 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 17 Mar 2005 04:02:17 +0000 (04:02 +0000)
keyserver/ChangeLog
keyserver/gpgkeys_ldap.c

index a12acd3..2b032ac 100644 (file)
@@ -1,5 +1,8 @@
 2005-03-16  David Shaw  <dshaw@jabberwocky.com>
 
+       * gpgkeys_ldap.c: Include lber.h if configure determines we need
+       it.
+
        * ksutil.h, ksutil.c (ks_action_to_string): New.
        (free_ks_options): Only free if options exist.
 
index 94c6fb6..d0f57b1 100644 (file)
@@ -33,6 +33,9 @@
 #include <winsock2.h>
 #include <winldap.h>
 #else
+#ifdef NEED_LBER_H
+#include <lber.h>
+#endif
 #include <ldap.h>
 #endif