0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 16:15:44 +00:00
Files
termux-packages/x11-packages/hangover-wine/0003-fix-socket-ipx.patch
2025-02-15 23:07:08 +08:00

33 lines
683 B
Diff

--- a/dlls/ntdll/unix/socket.c
+++ b/dlls/ntdll/unix/socket.c
@@ -54,7 +54,7 @@
# include <linux/types.h>
# endif
# include <linux/ipx.h>
-# ifdef SOL_IPX
+# if defined(SOL_IPX) && !defined(__ANDROID__)
# define HAS_IPX
# endif
#endif
--- a/dlls/ws2_32/unixlib.c
+++ b/dlls/ws2_32/unixlib.c
# include <linux/types.h>
# endif
# include <linux/ipx.h>
-# ifdef SOL_IPX
+# if defined(SOL_IPX) && !defined(__ANDROID__)
# define HAS_IPX
# endif
#endif
--- a/server/sock.c
+++ b/server/sock.c
@@ -71,7 +71,7 @@
# include <linux/types.h>
# endif
# include <linux/ipx.h>
-# ifdef SOL_IPX
+# if defined(SOL_IPX) && !defined(__ANDROID__)
# define HAS_IPX
# endif
#endif