* gold.h: Include <cstddef> and <sys/types.h>
authorIan Lance Taylor <ian@airs.com>
Sat, 22 Mar 2008 18:51:35 +0000 (18:51 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 22 Mar 2008 18:51:35 +0000 (18:51 +0000)
* options.h: Include <cstring>.

gold/ChangeLog
gold/gold.h
gold/options.h

index 486812a5cc5ea1ad62f32b7046bbbdd73661dea0..07bfd19feed37b3a10d15e3fb345b9b4d034f4e9 100644 (file)
@@ -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.
index 6a96f1bc498bb0820b3fffcec796b41a2dc8d09f..b34e0320b065c6b8b4d997422c8b8d26afc9a469 100644 (file)
@@ -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)
index 22866497353f120be44c41d40eaa2f02497467d7..ee48d112490d8c779bec5096ba729c098da96776 100644 (file)
@@ -37,6 +37,7 @@
 #define GOLD_OPTIONS_H
 
 #include <cstdlib>
+#include <cstring>
 #include <list>
 #include <string>
 #include <vector>