Changeset 9335 in vbox
- Timestamp:
- Jun 2, 2008 11:20:15 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/HostImpl.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r8766 r9335 20 20 */ 21 21 22 #define __STDC_LIMIT_MACROS 23 #define __STDC_CONSTANT_MACROS 24 22 25 #ifdef RT_OS_LINUX 23 # include <sys/types.h>24 # include <sys/stat.h>25 # include <unistd.h>26 # include <sys/ioctl.h>27 # include <fcntl.h>28 # include <mntent.h>26 # include <sys/types.h> 27 # include <sys/stat.h> 28 # include <unistd.h> 29 # include <sys/ioctl.h> 30 # include <fcntl.h> 31 # include <mntent.h> 29 32 /* bird: This is a hack to work around conflicts between these linux kernel headers 30 33 * and the GLIBC tcpip headers. They have different declarations of the 4 31 34 * standard byte order functions. */ 32 # define _LINUX_BYTEORDER_GENERIC_H33 # include <linux/cdrom.h>34 # ifdef VBOX_USE_LIBHAL35 # define _LINUX_BYTEORDER_GENERIC_H 36 # include <linux/cdrom.h> 37 # ifdef VBOX_USE_LIBHAL 35 38 // # include <libhal.h> 36 39 // /* These are defined by libhal.h and by VBox header files. */ 37 40 // # undef TRUE 38 41 // # undef FALSE 39 # include "vbox-libhal.h"40 # endif41 # include <errno.h>42 # include "vbox-libhal.h" 43 # endif 44 # include <errno.h> 42 45 #endif /* RT_OS_LINUX */ 43 46 … … 62 65 63 66 #ifdef RT_OS_WINDOWS 64 # define _WIN32_DCOM65 # include <windows.h>66 # include <shellapi.h>67 # define INITGUID68 # include <guiddef.h>69 # include <devguid.h>70 # include <objbase.h>71 # include <setupapi.h>72 # include <shlobj.h>73 # include <cfgmgr32.h>67 # define _WIN32_DCOM 68 # include <windows.h> 69 # include <shellapi.h> 70 # define INITGUID 71 # include <guiddef.h> 72 # include <devguid.h> 73 # include <objbase.h> 74 # include <setupapi.h> 75 # include <shlobj.h> 76 # include <cfgmgr32.h> 74 77 #endif /* RT_OS_WINDOWS */ 75 78
Note:
See TracChangeset
for help on using the changeset viewer.

