aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/gold.h3
-rw-r--r--gold/options.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 486812a..07bfd19 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-22 Ian Lance Taylor <iant@google.com>
+
+ * gold.h: Include <cstddef> and <sys/types.h>
+ * options.h: Include <cstring>.
+
2008-03-21 Ian Lance Taylor <iant@google.com>
* Added source code to GNU binutils.
diff --git a/gold/gold.h b/gold/gold.h
index 6a96f1b..b34e032 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -26,6 +26,9 @@
#include "config.h"
#include "ansidecl.h"
+#include <cstddef>
+#include <sys/types.h>
+
#ifdef ENABLE_NLS
# include <libintl.h>
# define _(String) gettext (String)
diff --git a/gold/options.h b/gold/options.h
index 2286649..ee48d11 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -37,6 +37,7 @@
#define GOLD_OPTIONS_H
#include <cstdlib>
+#include <cstring>
#include <list>
#include <string>
#include <vector>