# HG changeset patch # User Kim F. Storm # Date 1016460597 0 # Node ID 177616cff62bc9f0bb9a749cac08d84835ff4b2a # Parent 314740f7890e9cc42ca79b1e33cdd3384ad02153 Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. Remove explicit GNU_LINUX settings for datagram support. diff -r 314740f7890e -r 177616cff62b src/process.c --- a/src/process.c Mon Mar 18 14:08:37 2002 +0000 +++ b/src/process.c Mon Mar 18 14:09:57 2002 +0000 @@ -59,7 +59,7 @@ #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 @@ "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