From: Brendan Shanks <bshanks(a)codeweavers.com> --- configure.ac | 1 - dlls/winspool.drv/cups.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d9d112fa2a4..c057b318f2b 100644 --- a/configure.ac +++ b/configure.ac @@ -407,7 +407,6 @@ AC_SYS_LARGEFILE() AC_CHECK_HEADERS(\ AL/al.h \ - ApplicationServices/ApplicationServices.h \ CL/cl.h \ Carbon/Carbon.h \ CoreAudio/CoreAudio.h \ diff --git a/dlls/winspool.drv/cups.c b/dlls/winspool.drv/cups.c index 6d2d9fa1c8e..1e6ad9a43a6 100644 --- a/dlls/winspool.drv/cups.c +++ b/dlls/winspool.drv/cups.c @@ -41,7 +41,7 @@ #include <cups/ppd.h> #endif -#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H +#ifdef __APPLE__ #define GetCurrentProcess GetCurrentProcess_Mac #define GetCurrentThread GetCurrentThread_Mac #define LoadResource LoadResource_Mac @@ -386,7 +386,7 @@ static NTSTATUS get_ppd( void *args ) static NTSTATUS get_default_page_size( void *args ) { -#ifdef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H +#ifdef __APPLE__ const struct get_default_page_size_params *params = args; NTSTATUS status = STATUS_UNSUCCESSFUL; PMPrintSession session = NULL; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1649