mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-08-04 02:15:58 -04:00
Merge pull request #218 from ffontaine/master
utils.c: fix build on uclibc
This commit is contained in:
commit
50ab2c272c
5
utils.c
5
utils.c
@ -46,6 +46,11 @@
|
|||||||
# define __NR_openat2 437
|
# define __NR_openat2 437
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* uClibc and uClibc-ng don't provide O_TMPFILE */
|
||||||
|
#ifndef O_TMPFILE
|
||||||
|
# define O_TMPFILE (020000000 | O_DIRECTORY)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* List of all valid flags for the open/openat flags argument: */
|
/* List of all valid flags for the open/openat flags argument: */
|
||||||
#define VALID_OPEN_FLAGS \
|
#define VALID_OPEN_FLAGS \
|
||||||
(O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
(O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user