X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpassfd.c;h=945882045ee3a45800eb1e5c73a9fd04905e826c;hb=96924181b7f9eb0c8b0585467fc3cb2da2766a4f;hp=86c73760b5f15ff4bda3f34dd5ffa80719af92dc;hpb=722fc0acd0be939543544f6eaa66a9750a69d4a0;p=gnulib.git diff --git a/lib/passfd.c b/lib/passfd.c index 86c73760b..945882045 100644 --- a/lib/passfd.c +++ b/lib/passfd.c @@ -30,6 +30,12 @@ #include "cloexec.h" +/* The code that uses CMSG_FIRSTHDR is enabled on + Linux, MacOS X, FreeBSD, OpenBSD, NetBSD, AIX, OSF/1, Cygwin. + The code that uses HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS is enabled on + HP-UX, IRIX, Solaris. */ + +/* MSG_CMSG_CLOEXEC is defined only on Linux, as of 2011. */ #ifndef MSG_CMSG_CLOEXEC # define MSG_CMSG_CLOEXEC 0 #endif