aboutsummaryrefslogtreecommitdiffstats
path: root/main/wine/musl-fix.patch
blob: 95de951683b57a117df0aaaa9e3426784e85e22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- wine-1.7.8.orig/dlls/ntdll/directory.c
+++ wine-1.7.8/dlls/ntdll/directory.c
@@ -119,6 +119,7 @@
     char           d_name[256];
 } KERNEL_DIRENT64;
 
+#undef getdents64
 static inline int getdents64( int fd, char *de, unsigned int size )
 {
     return syscall( __NR_getdents64, fd, de, size );
--- wine-1.7.8.orig/server/file.h
+++ wine-1.7.8/server/file.h
@@ -21,6 +21,7 @@
 #ifndef __WINE_SERVER_FILE_H
 #define __WINE_SERVER_FILE_H
 
+#include <fcntl.h>
 #include "object.h"
 
 struct fd;
--- ./dlls/ws2_32/socket.c.orig
+++ ./dlls/ws2_32/socket.c
@@ -100,7 +100,7 @@
 
 #ifdef HAVE_NETIPX_IPX_H
 # include <netipx/ipx.h>
-#elif defined(HAVE_LINUX_IPX_H)
+#elif defined(HAVE_LINUX_IPX_H) && defined(__GLIBC__)
 # ifdef HAVE_ASM_TYPES_H
 #  include <asm/types.h>
 # endif