From 450661252ad0ad4d3e41b907b4bec2a681971613 Mon Sep 17 00:00:00 2001
From: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu, 15 Nov 2018 01:00:10 +0000
Subject: [PATCH] [llvm,Darwin9] More strncpy.

---
 llvm/tools/llvm-readobj/ObjDumper.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/tools/llvm-readobj/ObjDumper.cpp b/llvm/tools/llvm-readobj/ObjDumper.cpp
index a725140c9d3..c7adb606585 100644
--- a/llvm/tools/llvm-readobj/ObjDumper.cpp
+++ b/llvm/tools/llvm-readobj/ObjDumper.cpp
@@ -19,6 +19,8 @@
 #include "llvm/Support/Error.h"
 #include "llvm/Support/ScopedPrinter.h"
 #include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/string_compat.h"
+#include <cstring>
 
 namespace llvm {
 
