]> git.sur5r.net Git - openldap/blobdiff - include/ac/socket.h
Final round of module changes
[openldap] / include / ac / socket.h
index bef8a2ac2f05905e2aa52fe1743a7bb18c4c449f..b85204297674e778a9a2c2d77ea3785b39338df9 100644 (file)
@@ -74,6 +74,8 @@
 #      define AC_SOCKET_INVALID        ((unsigned int) ~0)
 
 #define EWOULDBLOCK WSAEWOULDBLOCK
+#define EINPROGRESS WSAEINPROGRESS
+#define ETIMEDOUT      WSAETIMEDOUT
 
 #elif MACOS
 #      define tcp_close( s )           tcpclose( s )
 #      define AC_SOCKET_INVALID        (-1)
 #endif
 
+#if !defined( HAVE_INET_ATON ) && !defined( inet_aton )
+#define inet_aton ldap_pvt_inet_aton
+struct in_addr;
+int ldap_pvt_inet_aton LDAP_P(( const char *, struct in_addr * ));
+#endif
+
 #if    defined(__WIN32) && defined(_ALPHA)
 /* NT on Alpha is hosed. */
 #define AC_HTONL( l ) \