java-scratchspace/openjdk7-boot/jdk-use-sys_xattr_header.patch

13 lines
532 B
Diff
Raw Normal View History

diff -Naur openjdk.orig/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c openjdk/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c
--- openjdk.orig/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c 2018-10-22 01:32:13.000000000 -0400
+++ openjdk/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c 2019-01-06 08:00:32.115685499 -0500
@@ -38,7 +38,7 @@
#ifdef COMPILE_AGAINST_SYSCALLS
#include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#else
#include <syscalls_fp.h>
#endif