Skip to content

Commit cb2806d

Browse files
committed
8265018: [AIX] FileDispatcherImpl.c:31:10: fatal error: 'sys/mount.h' file not found
Reviewed-by: clanger
1 parent ecef1fc commit cb2806d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java.base/unix/native/libnio/ch/FileDispatcherImpl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
#include <fcntl.h>
2929
#include <sys/uio.h>
3030
#include <unistd.h>
31+
#ifdef MACOSX
3132
#include <sys/mount.h>
3233
#include <sys/param.h>
34+
#endif
3335
#include <sys/stat.h>
3436
#include <sys/statvfs.h>
3537

0 commit comments

Comments
 (0)