fix building on FreeBSD

resolve undeclared identifier close error
pull/7150/head
mpkh 8 years ago committed by GitHub
parent 4c75872e0f
commit 01d2e7af71
  1. 2
      modules/core/src/system.cpp

@ -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>

Loading…
Cancel
Save