fix LocaleGuard contstructor (3dc77280)
[ardour.git] / libs / pbd / debug_rt_alloc.c
index 81e640b66de2b13eb28979f2c3f76bfdd8aea26c..7e578a23679874943df8225e7e7e79c231a37e5e 100644 (file)
 #define _GNU_SOURCE
 #include <dlfcn.h>
 #include <stdio.h>
-#include <pthread.h>
 #include <stdlib.h>
 
+#include "pbd/pthread_utils.h"
+
 int (*pbd_alloc_allowed) () = 0;
 
 /** Thread-local key whose value is set to 1 if malloc checking is disabled