summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/StreamingMemoryObjectTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Support/StreamingMemoryObjectTest.cpp')
-rw-r--r--llvm/unittests/Support/StreamingMemoryObjectTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/StreamingMemoryObjectTest.cpp b/llvm/unittests/Support/StreamingMemoryObjectTest.cpp
index cb1520b2edc..836dfa9084f 100644
--- a/llvm/unittests/Support/StreamingMemoryObjectTest.cpp
+++ b/llvm/unittests/Support/StreamingMemoryObjectTest.cpp
@@ -11,7 +11,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/StreamingMemoryObject.h"
#include "gtest/gtest.h"
-#include <cstring>
+#include <string.h>
using namespace llvm;
@@ -65,4 +65,4 @@ TEST(StreamingMemoryObjectTest, getPointer) {
EXPECT_TRUE(std::equal(InputBuffer, InputBuffer + 8, O.getPointer(0, 20)));
}
-} // end anonymous namespace
+} // end namespace
OpenPOWER on IntegriCloud