summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/include/nuttx/net/iob.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/net/iob.h b/nuttx/include/nuttx/net/iob.h
index 25dbbc39a..36d1e306d 100644
--- a/nuttx/include/nuttx/net/iob.h
+++ b/nuttx/include/nuttx/net/iob.h
@@ -46,6 +46,8 @@
#include <nuttx/net/iob.h>
+#ifdef CONFIG_NET_IOB
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -310,4 +312,6 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
# define iob_dump(wrb)
#endif
+#endif /* CONFIG_NET_IOB */
#endif /* _INCLUDE_NUTTX_NET_IOB_H */
+