Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e3001b6a
Commit
e3001b6a
authored
Dec 09, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Assume that sys/mman.h is available on Unix.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
13ec7952
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
7 additions
and
41 deletions
+7
-41
configure
configure
+0
-6
configure.ac
configure.ac
+0
-1
loader.c
dlls/ntdll/unix/loader.c
+1
-3
server.c
dlls/ntdll/unix/server.c
+1
-3
sync.c
dlls/ntdll/unix/sync.c
+0
-2
thread.c
dlls/ntdll/unix/thread.c
+0
-2
virtual.c
dlls/ntdll/unix/virtual.c
+1
-3
v4l.c
dlls/qcap/v4l.c
+0
-2
freetype.c
dlls/win32u/freetype.c
+1
-3
config.h.in
include/config.h.in
+0
-3
loader.c
libs/wine/loader.c
+0
-2
mmap.c
libs/wine/mmap.c
+0
-2
preloader.c
loader/preloader.c
+1
-3
preloader_mac.c
loader/preloader_mac.c
+1
-3
mapping.c
server/mapping.c
+1
-3
No files found.
configure
View file @
e3001b6a
...
@@ -8540,12 +8540,6 @@ then :
...
@@ -8540,12 +8540,6 @@ then :
printf
"%s
\n
"
"#define HAVE_SYS_LINK_H 1"
>>
confdefs.h
printf
"%s
\n
"
"#define HAVE_SYS_LINK_H 1"
>>
confdefs.h
fi
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"sys/mman.h"
"ac_cv_header_sys_mman_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_sys_mman_h
"
=
xyes
then
:
printf
"%s
\n
"
"#define HAVE_SYS_MMAN_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"sys/modem.h"
"ac_cv_header_sys_modem_h"
"
$ac_includes_default
"
ac_fn_c_check_header_compile
"
$LINENO
"
"sys/modem.h"
"ac_cv_header_sys_modem_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_sys_modem_h
"
=
xyes
if
test
"x
$ac_cv_header_sys_modem_h
"
=
xyes
then
:
then
:
...
...
configure.ac
View file @
e3001b6a
...
@@ -482,7 +482,6 @@ AC_CHECK_HEADERS(\
...
@@ -482,7 +482,6 @@ AC_CHECK_HEADERS(\
sys/ioctl.h \
sys/ioctl.h \
sys/ipc.h \
sys/ipc.h \
sys/link.h \
sys/link.h \
sys/mman.h \
sys/modem.h \
sys/modem.h \
sys/mtio.h \
sys/mtio.h \
sys/param.h \
sys/param.h \
...
...
dlls/ntdll/unix/loader.c
View file @
e3001b6a
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <unistd.h>
#include <unistd.h>
#include <dlfcn.h>
#include <dlfcn.h>
#ifdef HAVE_PWD_H
#ifdef HAVE_PWD_H
...
@@ -48,9 +49,6 @@
...
@@ -48,9 +49,6 @@
#ifdef HAVE_SYS_AUXV_H
#ifdef HAVE_SYS_AUXV_H
# include <sys/auxv.h>
# include <sys/auxv.h>
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
# include <sys/resource.h>
#endif
#endif
...
...
dlls/ntdll/unix/server.c
View file @
e3001b6a
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/mman.h>
#ifdef HAVE_SYS_SOCKET_H
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# include <sys/socket.h>
#endif
#endif
...
@@ -52,9 +53,6 @@
...
@@ -52,9 +53,6 @@
#ifdef HAVE_SYS_UN_H
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#include <sys/un.h>
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#ifdef HAVE_SYS_PRCTL_H
#ifdef HAVE_SYS_PRCTL_H
# include <sys/prctl.h>
# include <sys/prctl.h>
#endif
#endif
...
...
dlls/ntdll/unix/sync.c
View file @
e3001b6a
...
@@ -33,9 +33,7 @@
...
@@ -33,9 +33,7 @@
#include <limits.h>
#include <limits.h>
#include <signal.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#ifdef HAVE_SYS_SYSCALL_H
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#include <sys/syscall.h>
#endif
#endif
...
...
dlls/ntdll/unix/thread.c
View file @
e3001b6a
...
@@ -35,9 +35,7 @@
...
@@ -35,9 +35,7 @@
#include <signal.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/types.h>
#include <unistd.h>
#include <unistd.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#ifdef HAVE_SYS_TIMES_H
#ifdef HAVE_SYS_TIMES_H
#include <sys/times.h>
#include <sys/times.h>
#endif
#endif
...
...
dlls/ntdll/unix/virtual.c
View file @
e3001b6a
...
@@ -37,9 +37,7 @@
...
@@ -37,9 +37,7 @@
# include <sys/socket.h>
# include <sys/socket.h>
#endif
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_SYSINFO_H
#ifdef HAVE_SYS_SYSINFO_H
# include <sys/sysinfo.h>
# include <sys/sysinfo.h>
#endif
#endif
...
...
dlls/qcap/v4l.c
View file @
e3001b6a
...
@@ -35,9 +35,7 @@
...
@@ -35,9 +35,7 @@
#ifdef HAVE_SYS_IOCTL_H
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_TIME_H
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#include <sys/time.h>
...
...
dlls/win32u/freetype.c
View file @
e3001b6a
...
@@ -33,9 +33,7 @@
...
@@ -33,9 +33,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
#include <dlfcn.h>
#include <dlfcn.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
# include <sys/mman.h>
#endif
#include <string.h>
#include <string.h>
#include <dirent.h>
#include <dirent.h>
#include <stdio.h>
#include <stdio.h>
...
...
include/config.h.in
View file @
e3001b6a
...
@@ -637,9 +637,6 @@
...
@@ -637,9 +637,6 @@
/* Define to 1 if you have the <sys/link.h> header file. */
/* Define to 1 if you have the <sys/link.h> header file. */
#undef HAVE_SYS_LINK_H
#undef HAVE_SYS_LINK_H
/* Define to 1 if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define to 1 if you have the <sys/modem.h> header file. */
/* Define to 1 if you have the <sys/modem.h> header file. */
#undef HAVE_SYS_MODEM_H
#undef HAVE_SYS_MODEM_H
...
...
libs/wine/loader.c
View file @
e3001b6a
...
@@ -28,9 +28,7 @@
...
@@ -28,9 +28,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
# include <sys/resource.h>
#endif
#endif
...
...
libs/wine/mmap.c
View file @
e3001b6a
...
@@ -31,9 +31,7 @@
...
@@ -31,9 +31,7 @@
#ifdef HAVE_SYS_WAIT_H
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#include <sys/wait.h>
#endif
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <unistd.h>
#include <unistd.h>
#ifdef HAVE_STDINT_H
#ifdef HAVE_STDINT_H
# include <stdint.h>
# include <stdint.h>
...
...
loader/preloader.c
View file @
e3001b6a
...
@@ -71,9 +71,7 @@
...
@@ -71,9 +71,7 @@
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_SYSCALL_H
#ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>
# include <sys/syscall.h>
#endif
#endif
...
...
loader/preloader_mac.c
View file @
e3001b6a
...
@@ -33,9 +33,7 @@
...
@@ -33,9 +33,7 @@
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_SYSCALL_H
#ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>
# include <sys/syscall.h>
#endif
#endif
...
...
server/mapping.c
View file @
e3001b6a
...
@@ -27,9 +27,7 @@
...
@@ -27,9 +27,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
# include <sys/mman.h>
#endif
#include <unistd.h>
#include <unistd.h>
#include "ntstatus.h"
#include "ntstatus.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment