summaryrefslogtreecommitdiff
path: root/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp')
-rw-r--r--graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp b/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp
index 03eda14ec941..212997388699 100644
--- a/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp
+++ b/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp
@@ -1,6 +1,15 @@
--- ext/nanogui/src/common.cpp.orig 2016-10-15 20:12:12 UTC
+++ ext/nanogui/src/common.cpp
-@@ -248,7 +248,7 @@ std::string file_dialog(const std::vecto
+@@ -24,7 +24,7 @@
+ #if !defined(_WIN32)
+ #include <locale.h>
+ #include <signal.h>
+- #include <sys/dir.h>
++ #include <dirent.h>
+ #endif
+
+ NAMESPACE_BEGIN(nanogui)
+@@ -248,7 +248,7 @@ std::string file_dialog(const std::vector<std::pair<st
return std::string(ofn.lpstrFile);
#else
char buffer[FILE_DIALOG_MAX_BUFFER];