diff --git a/libs/pbd/debug_rt_alloc.c b/libs/pbd/debug_rt_alloc.c index 81e640b66d..7e578a2367 100644 --- a/libs/pbd/debug_rt_alloc.c +++ b/libs/pbd/debug_rt_alloc.c @@ -22,9 +22,10 @@ #define _GNU_SOURCE #include #include -#include #include +#include "pbd/pthread_utils.h" + int (*pbd_alloc_allowed) () = 0; /** Thread-local key whose value is set to 1 if malloc checking is disabled diff --git a/libs/pbd/localtime_r.cc b/libs/pbd/localtime_r.cc index 26e9dcc4a4..c72e3eb458 100644 --- a/libs/pbd/localtime_r.cc +++ b/libs/pbd/localtime_r.cc @@ -5,8 +5,8 @@ #ifndef HAVE_LOCALTIME_R #include #include -#include +#include "pbd/pthread_utils.h" #include "pbd/localtime_r.h" #ifdef localtime_r diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc index 5c3a0f8bcf..ae3bed4599 100644 --- a/libs/pbd/pathexpand.cc +++ b/libs/pbd/pathexpand.cc @@ -23,7 +23,7 @@ #include #include -#include +#include #include