From 798922b9c6274beaed2d1d41ab9410a26448b252 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 27 Aug 2018 11:33:32 -0600 Subject: [PATCH] include/nuttx/lib/modlib.h: Eliminate warning: 'CONFIG_MODLIB_MAXDEPEND' is not defined' --- include/nuttx/lib/modlib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/nuttx/lib/modlib.h b/include/nuttx/lib/modlib.h index b1f00ef30a..d76c0120c3 100644 --- a/include/nuttx/lib/modlib.h +++ b/include/nuttx/lib/modlib.h @@ -53,6 +53,10 @@ ****************************************************************************/ /* Configuration ************************************************************/ +#ifndef CONFIG_MODLIB_MAXDEPEND +# define CONFIG_MODLIB_MAXDEPEND 0 +#endif + #ifndef CONFIG_MODLIB_ALIGN_LOG2 # define CONFIG_MODLIB_ALIGN_LOG2 2 #endif