diff --git a/reactos/drivers/usb/usbhub/CMakeLists.txt b/reactos/drivers/usb/usbhub/CMakeLists.txt index 6e1a3cd9f6f..029840ae6dc 100644 --- a/reactos/drivers/usb/usbhub/CMakeLists.txt +++ b/reactos/drivers/usb/usbhub/CMakeLists.txt @@ -3,7 +3,7 @@ add_definitions(-DDEBUG_MODE) include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include) -add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c usbhub.rc) +add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c guid.c usbhub.rc) target_link_libraries(usbhub ${PSEH_LIB}) diff --git a/reactos/drivers/usb/usbhub/fdo.c b/reactos/drivers/usb/usbhub/fdo.c index 39cf3f883b6..ddeb84b6073 100644 --- a/reactos/drivers/usb/usbhub/fdo.c +++ b/reactos/drivers/usb/usbhub/fdo.c @@ -10,6 +10,8 @@ #include "usbhub.h" +#include + #define NDEBUG #include diff --git a/reactos/drivers/usb/usbhub/guid.c b/reactos/drivers/usb/usbhub/guid.c new file mode 100644 index 00000000000..50a60369ff3 --- /dev/null +++ b/reactos/drivers/usb/usbhub/guid.c @@ -0,0 +1,9 @@ +/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */ + +#include +#include +#include +#include +#include + +/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */ diff --git a/reactos/drivers/usb/usbhub/pdo.c b/reactos/drivers/usb/usbhub/pdo.c index c8043360e94..8103333dbc7 100644 --- a/reactos/drivers/usb/usbhub/pdo.c +++ b/reactos/drivers/usb/usbhub/pdo.c @@ -11,6 +11,8 @@ #include "usbhub.h" +#include + #define NDEBUG #include diff --git a/reactos/drivers/usb/usbhub/usbhub.h b/reactos/drivers/usb/usbhub/usbhub.h index 34058db3d29..2a93c80764f 100644 --- a/reactos/drivers/usb/usbhub/usbhub.h +++ b/reactos/drivers/usb/usbhub/usbhub.h @@ -1,20 +1,11 @@ #pragma once -#define INITGUID - -#include #include -#include #include #include -#include -#include -#include -#include #include //BROKEN: #include -#include #define USB_HUB_TAG 'hbsu' #define USB_MAXCHILDREN 127