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
ef6e33f8
Commit
ef6e33f8
authored
Nov 03, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Don't include wine/port.h in Unix libraries.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ef9a0f3b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
30 additions
and
20 deletions
+30
-20
gnutls.c
dlls/bcrypt/gnutls.c
+2
-1
freetype.c
dlls/dwrite/freetype.c
+3
-1
unixlib.c
dlls/kerberos/unixlib.c
+4
-1
unixlib.c
dlls/netapi32/unixlib.c
+2
-5
unixlib.c
dlls/odbc32/unixlib.c
+2
-1
schannel_gnutls.c
dlls/secur32/schannel_gnutls.c
+2
-1
opengl.c
dlls/win32u/dibdrv/opengl.c
+3
-1
freetype.c
dlls/win32u/freetype.c
+3
-4
bus_iohid.c
dlls/winebus.sys/bus_iohid.c
+1
-1
bus_sdl.c
dlls/winebus.sys/bus_sdl.c
+4
-4
port.h
include/wine/port.h
+4
-0
No files found.
dlls/bcrypt/gnutls.c
View file @
ef6e33f8
...
...
@@ -23,13 +23,14 @@
#endif
#include "config.h"
#include "wine/port.h"
#ifdef HAVE_GNUTLS_CIPHER_INIT
#include <stdarg.h>
#include <stdlib.h>
#include <assert.h>
#include <sys/types.h>
#include <dlfcn.h>
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>
#include <gnutls/abstract.h>
...
...
dlls/dwrite/freetype.c
View file @
ef6e33f8
...
...
@@ -23,7 +23,9 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <sys/types.h>
#include <dlfcn.h>
#ifdef HAVE_FT2BUILD_H
#include <ft2build.h>
...
...
dlls/kerberos/unixlib.c
View file @
ef6e33f8
...
...
@@ -26,10 +26,13 @@
#endif
#include "config.h"
#if defined(SONAME_LIBKRB5) && defined(SONAME_LIBGSSAPI_KRB5)
#include "wine/port.h"
#include <stdarg.h>
#include <sys/types.h>
#include <dlfcn.h>
#ifdef HAVE_KRB5_KRB5_H
# include <krb5/krb5.h>
#endif
...
...
dlls/netapi32/unixlib.c
View file @
ef6e33f8
...
...
@@ -24,7 +24,6 @@
#endif
#include "config.h"
#include "wine/port.h"
#ifdef SONAME_LIBNETAPI
...
...
@@ -32,12 +31,10 @@
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#i
fdef HAVE_SYS_WAIT_H
#i
nclude <sys/types.h>
#include <sys/wait.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#
endif
#
include <dlfcn.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
...
...
dlls/odbc32/unixlib.c
View file @
ef6e33f8
...
...
@@ -29,10 +29,11 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdlib.h>
#include <sys/types.h>
#include <dlfcn.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
...
...
dlls/secur32/schannel_gnutls.c
View file @
ef6e33f8
...
...
@@ -24,12 +24,13 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <dlfcn.h>
#ifdef SONAME_LIBGNUTLS
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>
...
...
dlls/win32u/dibdrv/opengl.c
View file @
ef6e33f8
...
...
@@ -23,7 +23,9 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <sys/types.h>
#include <dlfcn.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
...
...
dlls/win32u/freetype.c
View file @
ef6e33f8
...
...
@@ -26,14 +26,13 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <dlfcn.h>
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
...
...
dlls/winebus.sys/bus_iohid.c
View file @
ef6e33f8
...
...
@@ -22,9 +22,9 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <sys/types.h>
#if defined(HAVE_IOKIT_HID_IOHIDLIB_H)
#define DWORD UInt32
...
...
dlls/winebus.sys/bus_sdl.c
View file @
ef6e33f8
...
...
@@ -23,14 +23,14 @@
#endif
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdlib.h>
#i
fdef HAVE_UNISTD_H
#
include <unistd
.h>
#
endif
#i
nclude <unistd.h>
#
include <sys/types
.h>
#
include <dlfcn.h>
#ifdef HAVE_SDL_H
# include <SDL.h>
#endif
...
...
include/wine/port.h
View file @
ef6e33f8
...
...
@@ -29,6 +29,10 @@
# error You must include port.h before all other headers
#endif
#ifdef WINE_UNIX_LIB
# error port.h should not be used in Unix libraries
#endif
#include <sys/types.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