]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/getentry.c
LDAP C-API changes
[openldap] / libraries / libldap / getentry.c
index f3f896e7b8675eed8abe012c6a4f80c5d95b868a..01d8f2c1250791f1d84c10ebdebec0d5a8a2ef93 100644 (file)
@@ -5,28 +5,21 @@
  *  getentry.c
  */
 
+#include "portable.h"
+
 #ifndef lint 
 static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
 #endif
 
 #include <stdio.h>
-#include <ctype.h>
-#include <string.h>
-#ifdef MACOS
 #include <stdlib.h>
-#include "macos.h"
-#else /* MACOS */
-#if defined( DOS ) || defined( _WIN32 )
-#include <malloc.h>
-#include "msdos.h"
-#else /* DOS */
-#include <sys/types.h>
-#include <sys/socket.h>
-#endif /* DOS */
-#endif /* MACOS */
-
-#include "lber.h"
-#include "ldap.h"
+
+#include <ac/ctype.h>
+#include <ac/socket.h>
+#include <ac/string.h>
+#include <ac/time.h>
+
+#include "ldap-int.h"
 
 /* ARGSUSED */
 LDAPMessage *