From 0637bb3b014bac9679dfd802b45c54a6ed485480 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 12 Apr 2006 20:59:21 +0000 Subject: [PATCH] 2006-04-12 Lars Munch PR 949/networking * libnetworking/sys/socket.h: Make MSG_DONTWAIT public as in GNU/Linux. --- cpukit/ChangeLog | 5 +++++ cpukit/libnetworking/sys/socket.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 0eb3c4af8f..cdf039445c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2006-04-12 Lars Munch + + PR 949/networking + * libnetworking/sys/socket.h: Make MSG_DONTWAIT public as in GNU/Linux. + 2006-04-06 Joel Sherrill * posix/inline/rtems/posix/mutex.inl, diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h index 10894425cc..0f54cae366 100644 --- a/cpukit/libnetworking/sys/socket.h +++ b/cpukit/libnetworking/sys/socket.h @@ -317,8 +317,8 @@ struct msghdr { #define MSG_TRUNC 0x10 /* data discarded before delivery */ #define MSG_CTRUNC 0x20 /* control data lost before delivery */ #define MSG_WAITALL 0x40 /* wait for full request or error */ -#if __BSD_VISIBLE #define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ +#if __BSD_VISIBLE #define MSG_EOF 0x100 /* data completes connection */ #define MSG_COMPAT 0x8000 /* used in sendit() */ #endif