Include stdbool.h and stddef.h in bitops.h to pick up the definitions for "bool" and "size_t" respectively. Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx> --- lib/bitops.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/bitops.h b/lib/bitops.h index 308aa865..81a06a47 100644 --- a/lib/bitops.h +++ b/lib/bitops.h @@ -1,6 +1,9 @@ #ifndef _BITOPS_H_ #define _BITOPS_H_ +#include <stdbool.h> +#include <stddef.h> + /* * Adapted from * include/linux/bitops.h -- 2.34.1.703.g22d0c6ccf7-goog