This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new af8ff17f9 netlib: fixed compilation issues
af8ff17f9 is described below
commit af8ff17f9597cc7581acd6475a56a0fea7e237af
Author: gaohedong <[email protected]>
AuthorDate: Wed Sep 17 11:18:17 2025 +0800
netlib: fixed compilation issues
fixed compilation issues
Signed-off-by: gaohedong <[email protected]>
---
include/netutils/netlib.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/netutils/netlib.h b/include/netutils/netlib.h
index 43febfcda..2b3146e91 100644
--- a/include/netutils/netlib.h
+++ b/include/netutils/netlib.h
@@ -56,6 +56,11 @@
#include <nuttx/net/netdev.h>
#include <nuttx/net/netconfig.h>
+#ifdef CONFIG_NET_IPTABLES
+# include <nuttx/net/netfilter/ip_tables.h>
+# include <nuttx/net/netfilter/ip6_tables.h>
+#endif
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/