diff options
author | Marcin Cieslak <saper@saper.info> | 2015-08-19 16:51:31 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-08-21 09:10:56 +0100 |
commit | 88fc5eb7e23af132eacb895e475b31be0f7623e6 (patch) | |
tree | 9ec71e8d5f9484fa507222e403f5a920497299b0 /gdb | |
parent | 6f1cb6eac2f28c6e1cb49c011f2b916afb90b4ff (diff) | |
download | gdb-88fc5eb7e23af132eacb895e475b31be0f7623e6.zip gdb-88fc5eb7e23af132eacb895e475b31be0f7623e6.tar.gz gdb-88fc5eb7e23af132eacb895e475b31be0f7623e6.tar.bz2 |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/procfs.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9e609ae..3f2bb37 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 42f1403..3d4f7be 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. */ |