From 2a9794968c7b881d6f799171bef222b34c659e0d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 22 Apr 2019 15:32:06 +0200 Subject: [PATCH] proplib/prop_object: needs compat.h. --- lib/portableproplib/prop_object.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/portableproplib/prop_object.c b/lib/portableproplib/prop_object.c index e3a3a2cd..50cd9183 100644 --- a/lib/portableproplib/prop_object.c +++ b/lib/portableproplib/prop_object.c @@ -29,9 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "compat.h" #include "prop_object_impl.h" #include @@ -40,8 +38,8 @@ static pthread_mutex_t _prop_refcnt_mtx = PTHREAD_MUTEX_INITIALIZER; #endif /* _PROP_NEED_REFCNT_MTX */ -#define __USE_MISC /* MAP_ANON on glibc */ -#include +#define __USE_MISC /* MAP_ANON on glibc */ +# include #undef __USE_MISC #include #include