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.git


The following commit(s) were added to refs/heads/master by this push:
     new d7ea114fb84 drivers/can: repair compiler error
d7ea114fb84 is described below

commit d7ea114fb84849a49666c576fc9d9fbb5f150c14
Author: wangjinjing1 <[email protected]>
AuthorDate: Thu Jan 9 10:59:20 2025 +0800

    drivers/can: repair compiler error
    
    Add function definition of "container_of" to fix compiler error.
    
    Signed-off-by: wangjinjing1 <[email protected]>
---
 drivers/can/can_sender.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/can/can_sender.c b/drivers/can/can_sender.c
index 666fbd07b41..eee0cabd6fe 100644
--- a/drivers/can/can_sender.c
+++ b/drivers/can/can_sender.c
@@ -25,6 +25,7 @@
  ****************************************************************************/
 
 #include <nuttx/config.h>
+#include <nuttx/nuttx.h>
 #include <nuttx/can/can_sender.h>
 
 /****************************************************************************

Reply via email to