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

View File

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

View File

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

View File

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

View File

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

View File

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