summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-08-15 10:25:23 +0200
committerStef Walter <stef@thewalter.net>2014-08-15 10:26:15 +0200
commit2a35a67923c26cd38839197aee51c274e5c2550e (patch)
treeb70016d031d88ab6a6b31a51074b62522bbd9035
parentbf8dfa9f33c1aa8d76f8d1ae6cf79afb90497cd4 (diff)
downloadp11-kit-2a35a67923c26cd38839197aee51c274e5c2550e.tar.gz
common: Fix regression introduced by last commit
The last commit caused dirfd() to become undefined. https://bugs.freedesktop.org/show_bug.cgi?id=82617
-rw-r--r--common/compat.c2
1 files changed, 1 insertions, 1 deletions
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"