From 88fc5eb7e23af132eacb895e475b31be0f7623e6 Mon Sep 17 00:00:00 2001 From: Marcin Cieslak Date: Wed, 19 Aug 2015 16:51:31 +0000 Subject: [PATCH] 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". --- gdb/ChangeLog | 5 +++++ gdb/procfs.c | 1 + 2 files changed, 6 insertions(+) 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 (tiny patch) + + PR build/18843 + * procfs.c: Include "filestuff.h". + 2015-08-21 Patrick Palka * 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. */ -- 2.30.2