fix building on FreeBSD

resolve undeclared identifier close error
This commit is contained in:
mpkh 2016-08-22 17:17:06 +04:00 committed by GitHub
parent 4c75872e0f
commit 01d2e7af71

View File

@ -198,7 +198,7 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
#include <stdarg.h>
#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__
#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__ || defined __FreeBSD__
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>