Commit cca2b04a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont Committed by Alexandre Julliard

Move the (Mac OS X) IOKit headers to the top of the file to prevent a

compilation failure.
parent 698a0cb4
......@@ -57,6 +57,12 @@
# endif
#endif
#ifdef __APPLE__
# include <IOKit/IOKitLib.h>
# include <CoreFoundation/CFNumber.h> /* for kCFBooleanTrue, kCFBooleanFalse */
# include <paths.h>
#endif
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "wine/unicode.h"
......@@ -1549,9 +1555,6 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
info->Characteristics |= FILE_REMOTE_DEVICE;
}
#elif defined (__APPLE__)
# include <IOKit/IOKitLib.h>
# include <CoreFoundation/CFNumber.h> /* for kCFBooleanTrue, kCFBooleanFalse */
# include <paths.h>
struct statfs stfs;
info->DeviceType = FILE_DEVICE_DISK_FILE_SYSTEM;
......
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