mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
35f3401317
When building UML with glibc 2.17 installed, compilation
of arch/um/os-Linux/file.c fails due to failure to find
FALLOC_FL_PUNCH_HOLE and FALLOC_FL_KEEP_SIZE definitions.
It appears that /usr/include/bits/fcntl-linux.h (indirectly
included by /usr/include/fcntl.h) does not include falloc.h
with an older glibc, whereas a more up-to-date version
does.
Adding the direct include to file.c resolves the issue
and does not cause problems for more recent glibc.
Fixes:
|
||
---|---|---|
.. | ||
configs | ||
drivers | ||
include | ||
kernel | ||
os-Linux | ||
scripts | ||
.gitignore | ||
Kconfig | ||
Kconfig.debug | ||
Makefile | ||
Makefile-os-Linux | ||
Makefile-skas |