diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 6f82b6f9f9f..eb93a419ef0 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -85,6 +85,8 @@ #endif +#undef offsetof + /* GCC-specific definitions *************************************************/ #ifdef __GNUC__