+2016-05-02 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #20023]
+ * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
+ <time.h>.
+ * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
+ variable.
+ (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
+
2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
test-xfail-XPG4/utmpx.h/conform = yes
test-xfail-POSIX/sys/wait.h/conform = yes
test-xfail-UNIX98/arpa/inet.h/conform = yes
-test-xfail-UNIX98/fcntl.h/conform = yes
test-xfail-UNIX98/netdb.h/conform = yes
test-xfail-UNIX98/netinet/in.h/conform = yes
test-xfail-UNIX98/signal.h/conform = yes
test-xfail-UNIX98/ucontext.h/conform = yes
test-xfail-UNIX98/unistd.h/conform = yes
test-xfail-UNIX98/utmpx.h/conform = yes
-test-xfail-XOPEN2K/fcntl.h/conform = yes
test-xfail-XOPEN2K/semaphore.h/conform = yes
test-xfail-XOPEN2K/signal.h/conform = yes
test-xfail-XOPEN2K/sys/wait.h/conform = yes
#endif
/* For XPG all symbols from <sys/stat.h> should also be available. */
-#if defined __USE_XOPEN || defined __USE_XOPEN2K8
+#ifdef __USE_XOPEN2K8
# define __need_timespec
# include <time.h>
+#endif
+#if defined __USE_XOPEN || defined __USE_XOPEN2K8
# include <bits/stat.h>
# define S_IFMT __S_IFMT