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:10:56 +0000 (09:10 +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 9e609ae16348887b2e017bd594c8d68d59a4d729..3f2bb37af131bdcd318279139850c81713d6e296 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-21  Patrick Palka  <patrick@parcs.ath.cx>
 
        * tui/tui-data.h (tui_command_info): Remove fields cur_line and
index 42f140311493bf7d315d141cc38b68b6a5dd7959..3d4f7be3e36742c00a7f80e8217057abafb2a14c 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.  */