This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] procfs.c: Include "filestuff.h"


Fixes implicit function declaration
error in procfs.c:4927 about undeclared
make_cleanup_close().

gdb/ChangeLog:

	PR gdb/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 4af881e..edb4d88 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-18  Marcin Cieślak <saper@saper.info>
+
+	PR gdb/18843
+	* procfs.c: Include "filestuff.h"
+
 2015-08-18  Sandra Loosemore  <sandra@codesourcery.com>
 
 	* remote.c (strprefix): New.
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.  */
-- 
2.5.0



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]