diff --git a/platform/mbed_retarget.h b/platform/mbed_retarget.h index 85c89fe3de..90d19fb094 100644 --- a/platform/mbed_retarget.h +++ b/platform/mbed_retarget.h @@ -120,6 +120,9 @@ extern "C" { #undef EXDEV #define EXDEV 18 /* Cross-device link */ +#undef ENODEV +#define ENODEV 19 + #undef EINVAL #define EINVAL 22 /* Invalid argument */