Commit 28c6e94f authored by Kim F. Storm's avatar Kim F. Storm

Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.

Remove explicit GNU_LINUX settings for datagram support.
parent 955c874d
......@@ -59,7 +59,7 @@ Boston, MA 02111-1307, USA. */
#endif /* NEED_NET_ERRNO_H */
/* Are local (unix) sockets supported? */
#ifndef NO_SOCKETS_IN_FILE_SYSTEM
#if defined (HAVE_SYS_UN_H) && !defined (NO_SOCKETS_IN_FILE_SYSTEM)
#if !defined (AF_LOCAL) && defined (AF_UNIX)
#define AF_LOCAL AF_UNIX
#endif
......@@ -217,14 +217,6 @@ int update_tick;
"non-destructive" select. So we require either native select,
or emulation of select using FIONREAD. */
#ifdef GNU_LINUX
/* These are not yet in configure.in (they will be eventually)
-- so add them here temporarily. ++kfs */
#define HAVE_RECVFROM
#define HAVE_SENDTO
#define HAVE_GETSOCKNAME
#endif
#ifdef BROKEN_DATAGRAM_SOCKETS
#undef DATAGRAM_SOCKETS
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment