]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix compilation error with musl in gdb/testsuite/gdb.base/fileio.c
authorLukas Durfina <ldurfina@tachyum.com>
Mon, 3 Feb 2020 10:36:17 +0000 (14:36 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 3 Feb 2020 10:36:17 +0000 (14:36 +0400)
commitb0029748ca991c64cf9f0851217b7762e4877854
tree84cd099b71042853f7a156e265ab9a5676c336b8
parent0b398d69acde3377dfbbeb8a4cfe87ae8c8562fa
Fix compilation error with musl in gdb/testsuite/gdb.base/fileio.c

Musl is giving warnings about these includes in this way:
warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>

gdb/testsuite/Changelog:

* gdb.base/fileio.c: Remove #include of <sys/errno.h>.
Replace #include of <sys/fcntl.h> by <fcntl.h>.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fileio.c