aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-01-28 20:09:18 +0000
committerIan Lance Taylor <ian@airs.com>2009-01-28 20:09:18 +0000
commite0ebcf42c2dfc4e486eb73807806ee813a9a0f50 (patch)
tree30bb2d0be9fc41217341f6fe2686a6ca4ade3ff0 /gold/gold.h
parent528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0 (diff)
downloadgdb-e0ebcf42c2dfc4e486eb73807806ee813a9a0f50.zip
gdb-e0ebcf42c2dfc4e486eb73807806ee813a9a0f50.tar.gz
gdb-e0ebcf42c2dfc4e486eb73807806ee813a9a0f50.tar.bz2
* gold.h: Include <cstring> and <stdint.h>.
* version.cc: Include <cstdio>. * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a warning. * reduced_debug_output.cc (insert_into_vector): Rename from Insert_into_vector; change all callers. Use Swap_unaligned to avoid aliasing issue; remove union since it is unnecessary.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/gold.h b/gold/gold.h
index 7e38668..964de32 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -27,6 +27,8 @@
#include "ansidecl.h"
#include <cstddef>
+#include <cstring>
+#include <stdint.h>
#include <sys/types.h>
#ifndef ENABLE_NLS