]> granicus.if.org Git - p11-kit/commitdiff
common: Fix regression introduced by last commit
authorStef Walter <stef@thewalter.net>
Fri, 15 Aug 2014 08:25:23 +0000 (10:25 +0200)
committerStef Walter <stef@thewalter.net>
Fri, 15 Aug 2014 08:26:15 +0000 (10:26 +0200)
The last commit caused dirfd() to become undefined.

https://bugs.freedesktop.org/show_bug.cgi?id=82617

common/compat.c

index 1c8ab876d0c8fdbaa1fb7deba2426795afb3ab6a..ce0ccabd5b92d7bae66df162827bf54c5067ff17 100644 (file)
@@ -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"