File tree Expand file tree Collapse file tree 5 files changed +7
-2
lines changed
Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,7 @@ namespace capi
4646extern " C"
4747{
4848#else
49- #include < stddef.h>
50- #include < stdbool.h>
49+ #include < stddef.h> // for size_t
5150#endif
5251/* *
5352 * Retrieves the path to the GDAL data directory.
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ namespace capi
4545{
4646extern " C"
4747{
48+ #else
49+ #include < stddef.h> // for size_t
4850#endif
4951/* *
5052 * Returns the number of elements in a dimension type list.
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ extern "C"
4747{
4848#else
4949#include < stdbool.h> // for bool
50+ #include < stddef.h> // for size_t
5051#include < stdint.h> // for int64_t
5152#endif /* __cplusplus */
5253
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ namespace capi
4646
4747extern " C"
4848{
49+ #else
50+ #include < stddef.h> // for size_t
4951#endif
5052/* *
5153 * Returns the list of dimension types used by the provided `layout`.
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ extern "C"
4747{
4848#else
4949#include < stdbool.h> // for bool
50+ #include < stddef.h> // for size_t
5051#include < stdint.h> // for uint64_t
5152#endif
5253/* *
You can’t perform that action at this time.
0 commit comments