sys/types.h to work on NetBSD and AIX.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9943
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 21 17:13:19 1997 Sam Hartman <hartmans@luminous.MIT.EDU>
+
+ * port-sockets.h: Include sys/types.h before netinet/in.h for NetBSD
+ Protect against multiple inclusion
+
Thu Feb 20 23:28:31 1997 Richard Basch <basch@lehman.com>
* port-sockets.h: Define SOCKET_INITIALIZE and SOCKET_CLEANUP
+#ifndef _PORT_SOCKET_H
+#define _PORT_SOCKET_H
#if defined(_MSDOS) || defined(_WIN32)
#include <winsock.h>
#define SOCKET_EINTR WSAEINTR
#else /* ! HAVE_MACSOCK_H */ /* Sockets stuff for Unix machines */
-
+#include <sys/types.h>
#include <netinet/in.h> /* For struct sockaddr_in and in_addr */
#include <arpa/inet.h> /* For inet_ntoa */
#include <netdb.h> /* For struct hostent, gethostbyname, etc */
#endif /* HAVE_MACSOCK_H */
#endif /* _MSDOS */
+#endif /*_PORT_SOCKET_H*/