summaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/main.cc b/gold/main.cc
index e4f9003b215..2966d0351ed 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -22,9 +22,12 @@
#include "gold.h"
+#include <cstring>
+
#ifdef HAVE_MALLINFO
#include <malloc.h>
#endif
+
#include "libiberty.h"
#include "script.h"