From: Stef Walter Date: Fri, 15 Aug 2014 08:25:23 +0000 (+0200) Subject: common: Fix regression introduced by last commit X-Git-Tag: 0.21.2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a35a67923c26cd38839197aee51c274e5c2550e;p=p11-kit common: Fix regression introduced by last commit The last commit caused dirfd() to become undefined. https://bugs.freedesktop.org/show_bug.cgi?id=82617 --- diff --git a/common/compat.c b/common/compat.c index 1c8ab87..ce0ccab 100644 --- a/common/compat.c +++ b/common/compat.c @@ -38,7 +38,7 @@ * This is needed to expose pthread_mutexattr_settype and PTHREAD_MUTEX_DEFAULT * on older pthreads implementations */ -#define _XOPEN_SOURCE 600 +#define _XOPEN_SOURCE 700 #include "compat.h"