mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 00:42:03 +08:00
Fix building without CONFIG_NET_6LOWPAN
This commit is contained in:
committed by
Gregory Nutt
parent
88fd667603
commit
73056863ba
@@ -42,8 +42,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_NET_SIXLOWOAN_H
|
||||
#define __INCLUDE_NUTTX_NET_SIXLOWOAN_H
|
||||
#ifndef __INCLUDE_NUTTX_NET_SIXLOWPAN_H
|
||||
#define __INCLUDE_NUTTX_NET_SIXLOWPAN_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -57,6 +57,8 @@
|
||||
#include <nuttx/net/iob.h>
|
||||
#include <nuttx/net/netdev.h>
|
||||
|
||||
#ifdef CONFIG_NET_6LOWPAN
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -465,4 +467,5 @@ struct ieee802154_driver_s
|
||||
|
||||
int sixlowpan_input(FAR struct ieee802154_driver_s *ieee);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_NET_SIXLOWOAN_H */
|
||||
#endif /* CONFIG_NET_6LOWPAN */
|
||||
#endif /* __INCLUDE_NUTTX_NET_SIXLOWPAN_H */
|
||||
|
||||
Reference in New Issue
Block a user