mountmgr.sys: Include system headers before Windows headers.
This commit is contained in:
parent
54c2f6491d
commit
2fff57a5e7
|
@ -26,6 +26,9 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
||||||
|
#include <DiskArbitration/DiskArbitration.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "mountmgr.h"
|
#include "mountmgr.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
@ -34,8 +37,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(mountmgr);
|
||||||
|
|
||||||
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
||||||
|
|
||||||
#include <DiskArbitration/DiskArbitration.h>
|
|
||||||
|
|
||||||
static void appeared_callback( DADiskRef disk, void *context )
|
static void appeared_callback( DADiskRef disk, void *context )
|
||||||
{
|
{
|
||||||
CFDictionaryRef dict = DADiskCopyDescription( disk );
|
CFDictionaryRef dict = DADiskCopyDescription( disk );
|
||||||
|
|
|
@ -26,6 +26,10 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#ifdef SONAME_LIBHAL
|
||||||
|
# include <dbus/dbus.h>
|
||||||
|
# include <hal/libhal.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "mountmgr.h"
|
#include "mountmgr.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
|
@ -39,9 +43,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(mountmgr);
|
||||||
|
|
||||||
#ifdef SONAME_LIBHAL
|
#ifdef SONAME_LIBHAL
|
||||||
|
|
||||||
#include <dbus/dbus.h>
|
|
||||||
#include <hal/libhal.h>
|
|
||||||
|
|
||||||
#define DBUS_FUNCS \
|
#define DBUS_FUNCS \
|
||||||
DO_FUNC(dbus_bus_get); \
|
DO_FUNC(dbus_bus_get); \
|
||||||
DO_FUNC(dbus_connection_close); \
|
DO_FUNC(dbus_connection_close); \
|
||||||
|
|
Loading…
Reference in New Issue