File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 31
31
#ifdef HAVE_SYS_STAT_H
32
32
#include <sys/stat.h>
33
33
#endif
34
- #ifdef HAVE_SYS_FCNTL_H
34
+ #ifdef HAVE_FCNTL_H
35
35
#include <fcntl.h>
36
+ #else
37
+ #ifdef HAVE_SYS_FCNTL_H
38
+ #include <sys/fcntl.h>
39
+ #endif
36
40
#endif
37
41
38
42
#include <string.h>
Original file line number Diff line number Diff line change 16
16
* Copyright (c) 2010 IBM Corporation. All rights reserved.
17
17
* Copyright (c) 2014 Los Alamos National Security, LLC. All rights
18
18
* reserved.
19
+ * Copyright (c) 2018 Research Organization for Information Science
20
+ * and Technology (RIST). All rights reserved.
19
21
* $COPYRIGHT$
20
22
*
21
23
* Additional copyrights may follow
31
33
#include <dirent.h>
32
34
33
35
#include <sys/param.h>
36
+ #ifdef HAVE_SYS_MOUNT_H
34
37
#include <sys/mount.h>
38
+ #endif
35
39
#ifdef HAVE_SYS_STATFS_H
36
40
#include <sys/statfs.h>
37
41
#endif
You can’t perform that action at this time.
0 commit comments