aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-09 23:10:15 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-09 23:10:15 +0000
commitd446d6c4f777ddb71724bc81d6fe2ab566afdb19 (patch)
treeb9edcfb3bf585daba5053922e101e1f0db186596 /gold
parentbc06c745d9fc863ca8bc2811a1654cf0269ed874 (diff)
downloadgdb-d446d6c4f777ddb71724bc81d6fe2ab566afdb19.zip
gdb-d446d6c4f777ddb71724bc81d6fe2ab566afdb19.tar.gz
gdb-d446d6c4f777ddb71724bc81d6fe2ab566afdb19.tar.bz2
* pread.c: Include stdio.h.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/pread.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 098d347..eb37d39 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,9 @@
2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
+ * pread.c: Include stdio.h.
+
+2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
* plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not
defined.
diff --git a/gold/pread.c b/gold/pread.c
index a7a7d9c..2f47565 100644
--- a/gold/pread.c
+++ b/gold/pread.c
@@ -1,6 +1,6 @@
/* pread.c -- version of pread for gold. */
-/* Copyright 2006, 2007 Free Software Foundation, Inc.
+/* Copyright 2006, 2007, 2009 Free Software Foundation, Inc.
Written by Ian Lance Taylor <iant@google.com>.
This file is part of gold.
@@ -27,6 +27,7 @@
#include "config.h"
+#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>