Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
83272428
Commit
83272428
authored
Oct 19, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid including wine/port.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab3416c6
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
47 additions
and
69 deletions
+47
-69
cdrom.c
dlls/ntdll/unix/cdrom.c
+3
-7
debug.c
dlls/ntdll/unix/debug.c
+4
-4
file.c
dlls/ntdll/unix/file.c
+2
-6
loader.c
dlls/ntdll/unix/loader.c
+7
-4
process.c
dlls/ntdll/unix/process.c
+1
-4
serial.c
dlls/ntdll/unix/serial.c
+2
-7
server.c
dlls/ntdll/unix/server.c
+3
-7
signal_arm.c
dlls/ntdll/unix/signal_arm.c
+2
-4
signal_arm64.c
dlls/ntdll/unix/signal_arm64.c
+2
-4
signal_i386.c
dlls/ntdll/unix/signal_i386.c
+1
-4
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+1
-4
sync.c
dlls/ntdll/unix/sync.c
+3
-4
system.c
dlls/ntdll/unix/system.c
+4
-1
tape.c
dlls/ntdll/unix/tape.c
+4
-1
thread.c
dlls/ntdll/unix/thread.c
+2
-1
virtual.c
dlls/ntdll/unix/virtual.c
+6
-7
No files found.
dlls/ntdll/unix/cdrom.c
View file @
83272428
...
...
@@ -26,19 +26,15 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <sys/stat.h>
#ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
#elif defined(MAJOR_IN_SYSMACROS)
...
...
dlls/ntdll/unix/debug.c
View file @
83272428
...
...
@@ -23,16 +23,16 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#i
fdef HAVE_UNISTD_H
#
include <unistd
.h>
#
endif
#i
nclude <sys/types.h>
#
include <sys/stat
.h>
#
include <unistd.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
...
...
dlls/ntdll/unix/file.c
View file @
83272428
...
...
@@ -25,7 +25,6 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <sys/types.h>
...
...
@@ -37,15 +36,12 @@
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <unistd.h>
#ifdef HAVE_MNTENT_H
#include <mntent.h>
#endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <sys/stat.h>
#ifdef HAVE_SYS_STATVFS_H
# include <sys/statvfs.h>
#endif
...
...
dlls/ntdll/unix/loader.c
View file @
83272428
...
...
@@ -23,17 +23,20 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <signal.h>
#include <math.h>
#ifdef HAVE_LINK_H
# include <link.h>
#endif
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dlfcn.h>
#ifdef HAVE_PWD_H
# include <pwd.h>
#endif
...
...
dlls/ntdll/unix/process.c
View file @
83272428
...
...
@@ -24,7 +24,6 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <fcntl.h>
...
...
@@ -47,9 +46,7 @@
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_MACH_MACH_H
# include <mach/mach.h>
#endif
...
...
dlls/ntdll/unix/serial.c
View file @
83272428
...
...
@@ -25,7 +25,6 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <string.h>
...
...
@@ -35,13 +34,9 @@
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
...
...
dlls/ntdll/unix/server.c
View file @
83272428
...
...
@@ -23,7 +23,6 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
...
...
@@ -41,6 +40,7 @@
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
...
...
@@ -58,9 +58,7 @@
#ifdef HAVE_SYS_PRCTL_H
# include <sys/prctl.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <sys/stat.h>
#ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>
#endif
...
...
@@ -70,9 +68,7 @@
#ifdef HAVE_SYS_THR_H
#include <sys/thr.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef __APPLE__
#include <crt_externs.h>
#include <spawn.h>
...
...
dlls/ntdll/unix/signal_arm.c
View file @
83272428
...
...
@@ -26,7 +26,6 @@
#ifdef __arm__
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <pthread.h>
...
...
@@ -34,9 +33,8 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
...
...
dlls/ntdll/unix/signal_arm64.c
View file @
83272428
...
...
@@ -25,7 +25,6 @@
#ifdef __aarch64__
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <pthread.h>
...
...
@@ -33,9 +32,8 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
...
...
dlls/ntdll/unix/signal_i386.c
View file @
83272428
...
...
@@ -25,7 +25,6 @@
#ifdef __i386__
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <signal.h>
...
...
@@ -34,9 +33,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
...
...
dlls/ntdll/unix/signal_x86_64.c
View file @
83272428
...
...
@@ -25,7 +25,6 @@
#ifdef __x86_64__
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <pthread.h>
...
...
@@ -35,9 +34,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/mman.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_MACHINE_SYSARCH_H
# include <machine/sysarch.h>
#endif
...
...
dlls/ntdll/unix/sync.c
View file @
83272428
...
...
@@ -26,12 +26,13 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#endif
...
...
@@ -44,9 +45,7 @@
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_SCHED_H
# include <sched.h>
#endif
...
...
dlls/ntdll/unix/system.c
View file @
83272428
...
...
@@ -23,12 +23,15 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <fcntl.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
...
...
dlls/ntdll/unix/tape.c
View file @
83272428
...
...
@@ -23,11 +23,14 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
...
...
dlls/ntdll/unix/thread.c
View file @
83272428
...
...
@@ -23,17 +23,18 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
...
...
dlls/ntdll/unix/virtual.c
View file @
83272428
...
...
@@ -23,29 +23,28 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_SYSINFO_H
# include <sys/sysinfo.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <dlfcn.h>
#ifdef HAVE_VALGRIND_VALGRIND_H
# include <valgrind/valgrind.h>
#endif
...
...
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