diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h index 7459e6f19..c6d7d5660 100644 --- a/src/pulsecore/macro.h +++ b/src/pulsecore/macro.h @@ -30,6 +30,7 @@ #include #include #include +#include #ifndef PACKAGE #error "Please include config.h before including this file!" @@ -178,7 +179,7 @@ static inline size_t PA_PAGE_ALIGN(size_t l) { /* This type is not intended to be used in exported APIs! Use classic "int" there! */ #ifdef HAVE_STD_BOOL -typedef _Bool pa_bool_t; +typedef bool pa_bool_t; #else typedef int pa_bool_t; #endif