diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h
index 30475906563b201891ba13e8a86c7a4681f65410..b0ea16f38ee18f4c0357793b7970249fc2dd6ba0 100644
--- a/include/nuttx/compiler.h
+++ b/include/nuttx/compiler.h
@@ -159,6 +159,7 @@
 /* SDCC does not support inline functions */
 
 # undef  CONFIG_HAVE_INLINE
+# define inline
 
 /* SDCC does not support type long long or type double */
 
@@ -191,6 +192,7 @@
 # undef  CONFIG_LONG_IS_NOT_INT
 # undef  CONFIG_PTR_IS_NOT_INT
 # undef  CONFIG_HAVE_INLINE
+# define inline
 # undef  CONFIG_HAVE_LONG_LONG
 # undef  CONFIG_HAVE_DOUBLE
 # undef  CONFIG_CAN_PASS_STRUCTS