Fix some new compile problems if niether 6LoWPAN nor PF_IEEE802154 are enabled.

This commit is contained in:
Gregory Nutt 2017-08-20 11:10:07 -06:00
parent 04cfe3133c
commit b226dd9117

View File

@ -46,6 +46,8 @@
#include <nuttx/mm/iob.h> #include <nuttx/mm/iob.h>
#include <nuttx/net/netdev.h> #include <nuttx/net/netdev.h>
#if defined(CONFIG_NET_6LOWPAN) || defined(CONFIG_NET_IEEE802154)
/**************************************************************************** /****************************************************************************
* Public Types * Public Types
****************************************************************************/ ****************************************************************************/
@ -293,4 +295,5 @@ struct radio_driver_s
* Public Function Prototypes * Public Function Prototypes
****************************************************************************/ ****************************************************************************/
#endif /* CONFIG_NET_6LOWPAN || CONFIG_NET_IEEE802154 */
#endif /* __INCLUDE_NUTTX_NET_RADIODEV_H */ #endif /* __INCLUDE_NUTTX_NET_RADIODEV_H */