aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-21 15:18:50 -0700
committerTom Tromey <tom@tromey.com>2019-01-22 20:35:59 -0700
commita7c9855d033996252fc55349fd3e01670cdd7943 (patch)
tree970ab9a8a376230305023acda634a3cb64dda197 /gdb/corelow.c
parent71ba91e1c0732e203ba465a2196caa45aa8b2179 (diff)
downloadfsf-binutils-gdb-a7c9855d033996252fc55349fd3e01670cdd7943.zip
fsf-binutils-gdb-a7c9855d033996252fc55349fd3e01670cdd7943.tar.gz
fsf-binutils-gdb-a7c9855d033996252fc55349fd3e01670cdd7943.tar.bz2
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.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c3
1 files changed, 0 insertions, 3 deletions
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 <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"