You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gu...@apache.org on 2022/01/03 11:52:59 UTC

[incubator-nuttx] 02/03: include/nuttx/can.h: include nuttx/config.h

This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 43ddcd52778e700454ccefeb37ea93e2c94a2322
Author: raiden00pl <ra...@railab.me>
AuthorDate: Thu Dec 30 09:55:15 2021 +0100

    include/nuttx/can.h: include nuttx/config.h
---
 include/nuttx/can.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/include/nuttx/can.h b/include/nuttx/can.h
index 5e63e5c..98640fc 100644
--- a/include/nuttx/can.h
+++ b/include/nuttx/can.h
@@ -18,13 +18,15 @@
  *
  ****************************************************************************/
 
-#ifndef __INCLUDE_NUTTX_CAN_CAN_H
-#define __INCLUDE_NUTTX_CAN_CAN_H
+#ifndef __INCLUDE_NUTTX_CAN_H
+#define __INCLUDE_NUTTX_CAN_H
 
 /****************************************************************************
  * Included Files
  ****************************************************************************/
 
+#include <nuttx/config.h>
+
 #ifdef CONFIG_CAN_TXREADY
 #  include <nuttx/wqueue.h>
 #endif
@@ -307,4 +309,4 @@ extern "C"
 #endif
 
 #endif /* CONFIG_CAN */
-#endif /* __INCLUDE_NUTTX_CAN_CAN_H */
+#endif /* __INCLUDE_NUTTX_CAN_H */