libwine: Avoid including wine/port.h.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-19 18:58:36 +02:00
parent 28d7d5ba93
commit 06f6637363
6 changed files with 11 additions and 18 deletions

View File

@ -19,7 +19,6 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include "wine/asm.h" #include "wine/asm.h"
#ifdef __ASM_OBSOLETE #ifdef __ASM_OBSOLETE
@ -29,10 +28,10 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifdef HAVE_UNISTD_H #include <unistd.h>
# include <unistd.h> #include <dlfcn.h>
#endif
#ifdef HAVE_PWD_H #ifdef HAVE_PWD_H
#include <pwd.h> #include <pwd.h>
#endif #endif

View File

@ -19,7 +19,6 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include "wine/asm.h" #include "wine/asm.h"
#ifdef __ASM_OBSOLETE #ifdef __ASM_OBSOLETE
@ -29,9 +28,9 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#ifdef HAVE_SYS_STAT_H #include <sys/types.h>
# include <sys/stat.h> #include <sys/stat.h>
#endif #include <unistd.h>
#include "wine/debug.h" #include "wine/debug.h"

View File

@ -20,14 +20,15 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"

View File

@ -19,7 +19,6 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
@ -35,9 +34,8 @@
#ifdef HAVE_SYS_RESOURCE_H #ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h> # include <sys/resource.h>
#endif #endif
#ifdef HAVE_UNISTD_H #include <unistd.h>
# include <unistd.h> #include <dlfcn.h>
#endif
#ifdef __APPLE__ #ifdef __APPLE__
#include <crt_externs.h> #include <crt_externs.h>

View File

@ -19,7 +19,6 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
@ -35,9 +34,7 @@
#ifdef HAVE_SYS_MMAN_H #ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
#ifdef HAVE_UNISTD_H #include <unistd.h>
# include <unistd.h>
#endif
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
# include <stdint.h> # include <stdint.h>
#endif #endif

View File

@ -19,7 +19,6 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include "wine/asm.h" #include "wine/asm.h"
#ifdef __ASM_OBSOLETE #ifdef __ASM_OBSOLETE