]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/free.c
Remove LDAP_PORT dependencies so that ldap.conf defaults take over.
[openldap] / libraries / libldap / free.c
index d7a13228e6db9c5245e2fd95313aa4233533fd03..ebf2d623c5709b4321018c748883ecdd2e6e0df3 100644 (file)
@@ -6,29 +6,20 @@
  *           link in lots of extra code when not using certain features
  */
 
+#include "portable.h"
+
 #ifndef lint 
 static char copyright[] = "@(#) Copyright (c) 1994 The Regents of the University of Michigan.\nAll rights reserved.\n";
 #endif
 
-
 #include <stdio.h>
-#include <string.h>
-#include <ctype.h>
-#ifdef MACOS
 #include <stdlib.h>
-#include "macos.h"
-#else /* MACOS */
-#ifdef DOS
-#include <malloc.h>
-#include "msdos.h"
-#else /* DOS */
-#include <sys/types.h>
-#include <stdlib.h>
-#endif /* DOS */
-#endif /* MACOS */
 
-#include "lber.h"
-#include "ldap.h"
+#include <ac/ctype.h>
+#include <ac/string.h>
+#include <ac/time.h>
+
+#include "ldap-int.h"
 
 void
 ldap_getfilter_free( LDAPFiltDesc *lfdp )