]> rtime.felk.cvut.cz Git - sysless.git/blobdiff - libs4c/usb/base/usb/usb.h
Correct PDIUSB header include path.
[sysless.git] / libs4c / usb / base / usb / usb.h
index 492f04e196eeb751070146d8d237b8da5c1df54d..a81c8c2d70f01ef9613df188b0009f59fe3cf4f4 100644 (file)
@@ -13,9 +13,9 @@
 
 #if defined(SDCC) || defined(__KEIL__) || defined(__C51__)
   /*8051 special handling*/
-  #define REENTRANT_SIGN reentrant
+  #define REENTRANT_SIGN __reentrant
 #else
-  #define xdata           /*nothing*/
+  #define __xdata         /*nothing*/
   #define REENTRANT_SIGN  /*nothing*/
 #endif
 
@@ -171,7 +171,7 @@ int usb_standard_control_response(usb_device_t *udev)  REENTRANT_SIGN;
 #else /*USB_WITH_UDEV_FNC*/
 
   #define USB_PDI_DIRECT_FNC
-  #include "pdi.h"
+  #include "usb/pdi.h"
 
 #endif /*USB_WITH_UDEV_FNC*/