aboutsummaryrefslogtreecommitdiff
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
commitcbb93e6310f1b7b0a7c0a5002a37f75f406942ef (patch)
tree574987032d500e6ef32d01b51745e6c869dff568
parentc427c3100c0021e3c2e1b306fd947a3c4814af9e (diff)
downloadgdb-cbb93e6310f1b7b0a7c0a5002a37f75f406942ef.zip
gdb-cbb93e6310f1b7b0a7c0a5002a37f75f406942ef.tar.gz
gdb-cbb93e6310f1b7b0a7c0a5002a37f75f406942ef.tar.bz2
* 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 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>