From 425c4bca2e72e9fa0dafe2bcab9122bf3a579edd Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 27 Feb 2008 00:30:24 +0000 Subject: [PATCH] Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) --- main/streams/xp_socket.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/streams/xp_socket.c b/main/streams/xp_socket.c index 2ad13052eb..d40cfefe61 100644 --- a/main/streams/xp_socket.c +++ b/main/streams/xp_socket.c @@ -35,6 +35,10 @@ # define MSG_DONTWAIT 0 #endif +#ifndef MSG_PEEK +# define MSG_PEEK 0 +#endif + php_stream_ops php_stream_generic_socket_ops; PHPAPI php_stream_ops php_stream_socket_ops; php_stream_ops php_stream_udp_socket_ops; -- 2.50.1