You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/01 11:56:08 UTC

[incubator-nuttx] branch master updated: netlink: fix compile error when enable netlink

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/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 94f45d5  netlink: fix compile error when enable netlink
94f45d5 is described below

commit 94f45d5c063c57dabecf06e8e327162579b516b4
Author: Virus.V <vi...@live.com>
AuthorDate: Thu Jul 1 18:49:03 2021 +0800

    netlink: fix compile error when enable netlink
    
    Signed-off-by: Virus.V <vi...@live.com>
---
 net/netlink/netlink.h       | 1 +
 net/netlink/netlink_route.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net/netlink/netlink.h b/net/netlink/netlink.h
index 94f405f..579dfd4 100644
--- a/net/netlink/netlink.h
+++ b/net/netlink/netlink.h
@@ -34,6 +34,7 @@
 #include <netpacket/netlink.h>
 #include <nuttx/net/netlink.h>
 #include <nuttx/semaphore.h>
+#include <nuttx/wqueue.h>
 
 #include "devif/devif.h"
 #include "socket/socket.h"
diff --git a/net/netlink/netlink_route.c b/net/netlink/netlink_route.c
index 0d61749..eb0e903 100644
--- a/net/netlink/netlink_route.c
+++ b/net/netlink/netlink_route.c
@@ -28,6 +28,7 @@
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
+#include <debug.h>
 
 #include <net/route.h>
 #include <netpacket/netlink.h>