summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Cieslak <saper@saper.info>2015-08-19 16:51:31 +0000
committerYao Qi <yao.qi@linaro.org>2015-08-21 09:10:56 +0100
commit88fc5eb7e23af132eacb895e475b31be0f7623e6 (patch)
tree9ec71e8d5f9484fa507222e403f5a920497299b0
parent6f1cb6eac2f28c6e1cb49c011f2b916afb90b4ff (diff)
downloadbinutils-gdb-88fc5eb7e23af132eacb895e475b31be0f7623e6.tar.gz
procfs.c: Include "filestuff.h"
Fixes implicit function declaration error in gdb/procfs.c:4927 about undeclared make_cleanup_close(). gdb/ChangeLog: PR build/18843 * procfs.c: Include "filestuff.h".
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/procfs.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9e609ae1634..3f2bb37af13 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-21 Marcin Cieślak <saper@saper.info> (tiny patch)
+
+ PR build/18843
+ * procfs.c: Include "filestuff.h".
+
2015-08-21 Patrick Palka <patrick@parcs.ath.cx>
* tui/tui-data.h (tui_command_info): Remove fields cur_line and
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 42f14031149..3d4f7be3e36 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -30,6 +30,7 @@
#include "gdbthread.h"
#include "regcache.h"
#include "inf-child.h"
+#include "filestuff.h"
#if defined (NEW_PROC_API)
#define _STRUCTURED_PROC 1 /* Should be done by configure script. */