diff --git a/libdevice/device_math.h b/libdevice/device_math.h index 7bc28839f455b..ce2765f36f2c0 100644 --- a/libdevice/device_math.h +++ b/libdevice/device_math.h @@ -10,8 +10,8 @@ #define __LIBDEVICE_DEVICE_MATH_H__ #include "device.h" -#include #ifdef __SPIR__ +#include DEVICE_EXTERN_C div_t __devicelib_div(int x, int y);