This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.10-branch] procfs.c: Include "filestuff.h"
- From: Yao Qi <qiyao at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 21 Aug 2015 08:19:15 -0000
- Subject: [binutils-gdb/gdb-7.10-branch] procfs.c: Include "filestuff.h"
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=44d0cad3c4c67d21a50974bc8ef6d350ba32172d
commit 44d0cad3c4c67d21a50974bc8ef6d350ba32172d
Author: Marcin Cieslak <saper@saper.info>
Date: Wed Aug 19 16:51:31 2015 +0000
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".
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/procfs.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3689ae1..4302997 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/procfs.c b/gdb/procfs.c
index b62539f..7b7ff45 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. */