aboutsummaryrefslogtreecommitdiff
path: root/lib/ldap.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-04-26 17:23:28 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-04-26 17:23:28 +0000
commit3cbb1b2b64453c5504df5696ffbf72cb08e43f9c (patch)
treecd7d78df702dff218b638b7a614d796c20129b1b /lib/ldap.c
parentd75e58761370e4f4c5d496252509a3f2c98e6fd6 (diff)
Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines
(more logical).
Diffstat (limited to 'lib/ldap.c')
-rw-r--r--lib/ldap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 47b5fdefd..558d6f40f 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -36,10 +36,12 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
#include <errno.h>
#if defined(WIN32)
-# include <malloc.h>
# include <winldap.h>
#endif