From 6b36f76ed2da7e2da8d838fc1ebc3ab5063abcb9 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Fri, 4 Nov 2016 15:54:18 -0400 Subject: [PATCH] linux. --- native/native.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/native.cpp b/native/native.cpp index 1123487..f0356f9 100644 --- a/native/native.cpp +++ b/native/native.cpp @@ -32,9 +32,9 @@ #include #include #include +#include #include #include -#include using namespace MacOS; @@ -149,7 +149,7 @@ namespace native { macos_error set_finder_info(const std::string &path_name, uint32_t ftype, uint32_t ctype) { uint8_t buffer[32]; - std::memset(buffer, 0, sizeof(buffer)); + memset(buffer, 0, sizeof(buffer)); buffer[0] = ftype >> 24; buffer[1] = ftype >> 16;