mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Unbreak the build on 5.x without MSG_NOSIGNAL. Also submitted upstream.
This commit is contained in:
parent
771be9e1d3
commit
0746363dc2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176824
23
games/frozenbubble/files/patch-server_net.h
Normal file
23
games/frozenbubble/files/patch-server_net.h
Normal file
@ -0,0 +1,23 @@
|
||||
Index: server/net.h
|
||||
===================================================================
|
||||
--- server/net.h (revision 741)
|
||||
+++ server/net.h (revision 742)
|
||||
@@ -17,11 +17,18 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
+
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
+#ifndef MSG_NOSIGNAL
|
||||
+#define MSG_NOSIGNAL 0
|
||||
+#endif
|
||||
+
|
||||
extern const int proto_major;
|
||||
extern const int proto_minor;
|
||||
|
Loading…
Reference in New Issue
Block a user