X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d52fe63fc81f7e44faaae711812a211a78434976..9bccf70c0258c7cac2dcb80011b2a964d884c552:/iokit/include/bsddev/evsio.h

diff --git a/iokit/include/bsddev/evsio.h b/iokit/include/bsddev/evsio.h
index ebdd5d8cf..e3b799153 100644
--- a/iokit/include/bsddev/evsio.h
+++ b/iokit/include/bsddev/evsio.h
@@ -19,6 +19,11 @@
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
+#warning include <dev/evsio.h> is going away use <IOKit/hidsystem/IOHIDTypes.h> instead
+
+#include <sys/appleapiopts.h>
+
+#ifdef __APPLE_API_OBSOLETE
 #include <IOKit/hidsystem/IOHIDTypes.h>
 
 /*
@@ -27,3 +32,5 @@
 #ifndef _NeXT_MACH_EVENT_DRIVER_
 #define _NeXT_MACH_EVENT_DRIVER_	(1)
 #endif /* _NeXT_MACH_EVENT_DRIVER_ */
+
+#endif /* __APPLE_API_OBSOLETE */