]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
procfs.c: Include "filestuff.h"
authorMarcin Cieslak <saper@saper.info>
Wed, 19 Aug 2015 16:51:31 +0000 (16:51 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 21 Aug 2015 08:17:32 +0000 (09:17 +0100)
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".

gdb/ChangeLog
gdb/procfs.c

index 3689ae1a3668e3dfe52199e25bb67891df58c87b..4302997e1163e7db489120fa1a0f73bdd11a3cbd 100644 (file)
@@ -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-18  Sandra Loosemore  <sandra@codesourcery.com>
 
        * remote.c (strprefix): New.
index b62539f038105e075e672a40b646fe673dca5e9f..7b7ff45dfe6069907ebbe2cc94ffd156213deb73 100644 (file)
@@ -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.  */