7fb8bd93c5
Accepted submit request 52446 from user prusnak OBS-URL: https://build.opensuse.org/request/show/52446 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/csmash?expand=0&rev=12
29 lines
644 B
Diff
29 lines
644 B
Diff
Index: MultiPlay.cpp
|
|
===================================================================
|
|
--- MultiPlay.cpp.orig
|
|
+++ MultiPlay.cpp
|
|
@@ -43,7 +43,9 @@ typedef int socklen_t; /* mimic Penguin
|
|
|
|
#else /* ! WIN32 */
|
|
|
|
+#ifndef closesocket /* see included ttincl.h */
|
|
#define closesocket(FD) close(FD)
|
|
+#endif
|
|
|
|
#endif
|
|
|
|
Index: Network.cpp
|
|
===================================================================
|
|
--- Network.cpp.orig
|
|
+++ Network.cpp
|
|
@@ -42,7 +42,9 @@ typedef int socklen_t; /* mimic Penguin
|
|
|
|
#else /* ! WIN32 */
|
|
|
|
+#ifndef closesocket /* see included ttincl.h */
|
|
#define closesocket(FD) close(FD)
|
|
+#endif
|
|
|
|
#endif
|
|
|