aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>