Skip to content

Commit

Permalink
include stdbool for C99
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Sep 13, 2023
1 parent d319bb3 commit d9a572f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/api_c/include/c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#else
// for C99
#include <stdbool.h>
#endif

/**
Expand Down

0 comments on commit d9a572f

Please sign in to comment.