Skip to content

Commit

Permalink
bindesc: Add include zephyr/sys/util_macro.h
Browse files Browse the repository at this point in the history
Including `zephyr/bindesc.h` without `zephyr/sys/util_macro.h` already
present will cause a compile error. As it's a reasonable expectation
that this should work, this patch adds the missing include.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
  • Loading branch information
attie-argentum authored and nashif committed Mar 26, 2024
1 parent e193f92 commit 2ba0a33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/zephyr/bindesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef ZEPHYR_INCLUDE_ZEPHYR_BINDESC_H_
#define ZEPHYR_INCLUDE_ZEPHYR_BINDESC_H_

#include <zephyr/sys/util_macro.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
Expand Down

0 comments on commit 2ba0a33

Please sign in to comment.