mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
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>.
This commit is contained in:
committed by
Joel Brobecker
parent
0b398d69ac
commit
b0029748ca
@@ -1,3 +1,8 @@
|
||||
2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
|
||||
|
||||
* gdb.base/fileio.c: Remove #include of <sys/errno.h>.
|
||||
Replace #include of <sys/fcntl.h> by <fcntl.h>.
|
||||
|
||||
2020-02-01 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#include <sys/wait.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
/* TESTS :
|
||||
|
||||
Reference in New Issue
Block a user