Commit 2fff57a5 authored by Alexandre Julliard's avatar Alexandre Julliard

mountmgr.sys: Include system headers before Windows headers.

parent 54c2f649
...@@ -26,6 +26,9 @@ ...@@ -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); ...@@ -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 @@ ...@@ -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); ...@@ -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); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment