summaryrefslogtreecommitdiff
path: root/gdb/procfs.c
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 /gdb/procfs.c
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".
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c1
1 files changed, 1 insertions, 0 deletions
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. */