From: Tom Tromey Date: Mon, 21 Jan 2019 22:18:50 +0000 (-0700) Subject: corelow.c does not need sys/file.h X-Git-Tag: gdb-8.3-release~338 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7c9855d033996252fc55349fd3e01670cdd7943;p=platform%2Fupstream%2Fbinutils.git corelow.c does not need sys/file.h I did not see any reason that corelow.c should include . The provided explanatory comment seems to be wrong. This patch removes the include. 2019-01-22 Tom Tromey * corelow.c: Do not include sys/file.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 485941a..36a97bd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2019-01-22 Tom Tromey + * corelow.c: Do not include sys/file.h. + +2019-01-22 Tom Tromey + * tui/tui-wingeneral.h: Include gdb_curses.h. 2019-01-22 Tom Tromey diff --git a/gdb/corelow.c b/gdb/corelow.c index ab32e09..462103a 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -21,9 +21,6 @@ #include "arch-utils.h" #include #include -#ifdef HAVE_SYS_FILE_H -#include /* needed for F_OK and friends */ -#endif #include "frame.h" /* required by inferior.h */ #include "inferior.h" #include "infrun.h"