summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-03-22 18:51:35 +0000
committerIan Lance Taylor <ian@airs.com>2008-03-22 18:51:35 +0000
commitd476d71745d0381818c9b234b0b32bf5f34766b5 (patch)
treefa1741c049115f039ece191229003af89de12824
parent4baf3a194dd7e3d888b63aaaf7c664121ca0856c (diff)
downloadbinutils-redhat-d476d71745d0381818c9b234b0b32bf5f34766b5.tar.gz
* gold.h: Include <cstddef> and <sys/types.h>
* options.h: Include <cstring>.
-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 486812a5cc..07bfd19fee 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 6a96f1bc49..b34e0320b0 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 2286649735..ee48d11249 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>