diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-24 08:59:29 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-24 08:59:29 -0600 |
commit | cd733d2a25bf118d00cac4572e09b99b9ac58d30 (patch) | |
tree | 16063685c9b4be7c9433c1bb3cc8bf81714f71f5 /nuttx | |
parent | a46fdab0f1c84cd9236d45adf5eee6333dce553e (diff) | |
download | nuttx-cd733d2a25bf118d00cac4572e09b99b9ac58d30.tar.gz nuttx-cd733d2a25bf118d00cac4572e09b99b9ac58d30.tar.bz2 nuttx-cd733d2a25bf118d00cac4572e09b99b9ac58d30.zip |
Contents of iob.h should not be compiled if CONFIG_NET_IOB is not set
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/nuttx/net/iob.h | 4 |
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 */ + |