diff options
Diffstat (limited to 'hidin/hidin.h')
-rw-r--r-- | hidin/hidin.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hidin/hidin.h b/hidin/hidin.h index 4425b76..5e88451 100644 --- a/hidin/hidin.h +++ b/hidin/hidin.h @@ -12,9 +12,13 @@ #include <stdlib.h>
#include <wtypes.h>
#include <setupapi.h>
+#ifdef _MSC_VER
#include "hidusage.h"
#include "hidsdi.h"
-#include "setupapi.h"
+#else
+#include <ddk/hidusage.h>
+#include <ddk/hidsdi.h>
+#endif
//
// A structure to hold the steady state data received from the hid device.
@@ -139,4 +143,4 @@ BOOLEAN unpackReport(PCHAR ReportBuffer, USHORT ReportBufferLength, HIDP_REPORT_ BOOLEAN packReport(PCHAR ReportBuffer, USHORT ReportBufferLength, HIDP_REPORT_TYPE ReportType,
t_hid_data *Data, ULONG DataLength, PHIDP_PREPARSED_DATA Ppd);
-#endif // hidin_H
\ No newline at end of file +#endif // hidin_H
|