This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] procfs.c: Include "filestuff.h"
- From: Marcin Cieslak <saper at saper dot info>
- To: gdb-patches at sourceware dot org
- Date: Tue, 18 Aug 2015 18:07:54 +0000
- Subject: [PATCH] procfs.c: Include "filestuff.h"
- Authentication-results: sourceware.org; auth=none
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