corelow.c does not need sys/file.h

I did not see any reason that corelow.c should include <sys/file.h>.
The provided explanatory comment seems to be wrong.  This patch
removes the include.

2019-01-22  Tom Tromey  <tom@tromey.com>

	* corelow.c: Do not include sys/file.h.
This commit is contained in:
Tom Tromey 2019-01-21 15:18:50 -07:00
parent 71ba91e1c0
commit a7c9855d03
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2019-01-22 Tom Tromey <tom@tromey.com>
* corelow.c: Do not include sys/file.h.
2019-01-22 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.h: Include gdb_curses.h.

View File

@ -21,9 +21,6 @@
#include "arch-utils.h"
#include <signal.h>
#include <fcntl.h>
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h> /* needed for F_OK and friends */
#endif
#include "frame.h" /* required by inferior.h */
#include "inferior.h"
#include "infrun.h"