summaryrefslogtreecommitdiffstats
path: root/src/include/port-sockets.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-07-17 00:37:28 +0000
committerKen Raeburn <raeburn@mit.edu>2004-07-17 00:37:28 +0000
commitc9696e20527af3646e99aac33215874696219fdc (patch)
tree68e2b80a5357d6085005837db63175f2e978fff9 /src/include/port-sockets.h
parent2ccf5640522eec31ce4b59f92e867c5e6a0eeb61 (diff)
downloadkrb5-c9696e20527af3646e99aac33215874696219fdc.tar.gz
krb5-c9696e20527af3646e99aac33215874696219fdc.tar.xz
krb5-c9696e20527af3646e99aac33215874696219fdc.zip
zap remaining bits of macsock.h support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16612 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/port-sockets.h')
-rw-r--r--src/include/port-sockets.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h
index 6e8ca47bf4..700db75108 100644
--- a/src/include/port-sockets.h
+++ b/src/include/port-sockets.h
@@ -70,17 +70,13 @@ typedef WSABUF sg_buf;
/* If this source file requires it, define struct sockaddr_in
(and possibly other things related to network I/O). */
-#ifdef HAVE_MACSOCK_H /* Sockets stuff differs on Mac */
-#include "macsock.h" /* Macintosh sockets emulation library */
-#else /* ! HAVE_MACSOCK_H */ /* Sockets stuff for Unix machines */
-
#include "krb5/autoconf.h"
#include <sys/types.h>
#include <netinet/in.h> /* For struct sockaddr_in and in_addr */
#include <arpa/inet.h> /* For inet_ntoa */
-#if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(HAVE_MACSOCK_H) && !defined(_WIN32)
+#if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(_WIN32)
/* Hack for HPUX, to get h_errno. */
# define _XOPEN_SOURCE_EXTENDED 1
# include <netdb.h>
@@ -177,8 +173,6 @@ typedef struct iovec sg_buf;
#define HAVE_INET_NTOP
#endif
-#endif /* HAVE_MACSOCK_H */
-
#endif /* _WIN32 */
#if !defined(_WIN32)