aboutsummaryrefslogtreecommitdiff
path: root/hidin/hidin.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-13 23:22:12 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-13 23:22:12 +0000
commit1cad159b52a49d14027b23676da5d73fb5142b9d (patch)
tree5cc4f8ff6efac68c70198e8690f6376d3c1d00a6 /hidin/hidin.h
parent246b7b648787d8aa5747044f4365143ae4b7da46 (diff)
fixed up build system and includes to get [hidin] building as part of Pd-extended on Windows
svn path=/trunk/externals/olafmatt/; revision=5930
Diffstat (limited to 'hidin/hidin.h')
-rw-r--r--hidin/hidin.h8
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