Skip to content

Commit

Permalink
cpl_error.h: Move the include of stdbool for CPLErrorOnce into the he…
Browse files Browse the repository at this point in the history
…ader. (#11625)

Callers of things in cpl_error.h should not have to be aware of
internally required includes.
  • Loading branch information
schwehr authored Jan 10, 2025
1 parent 313e89c commit 87d8e06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions frmts/aigrid/gridlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

#include "aigrid.h"

#include <stdbool.h>

#ifndef CPL_IGNORE_RET_VAL_INT_defined
#define CPL_IGNORE_RET_VAL_INT_defined

Expand Down
1 change: 1 addition & 0 deletions port/cpl_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "cpl_port.h"

#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>

/*=====================================================================
Expand Down

0 comments on commit 87d8e06

Please sign in to comment.