aboutsummaryrefslogtreecommitdiff
path: root/graphics/simpleviewer
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-10-01 19:35:00 +0000
committerJohn Marino <marino@FreeBSD.org>2013-10-01 19:35:00 +0000
commita12868399b2759d3ce287622f4385b5c6f82df65 (patch)
tree8c539504adff496cb9df601e81c40e4dd2d9f1df /graphics/simpleviewer
parent840a9df3003ea9cfbd3415131e6102b30a6f28ba (diff)
downloadports-a12868399b2759d3ce287622f4385b5c6f82df65.tar.gz
ports-a12868399b2759d3ce287622f4385b5c6f82df65.zip
graphics/simpleviewer: add <unistd.h> for modern compilers
Notes
Notes: svn path=/head/; revision=328986
Diffstat (limited to 'graphics/simpleviewer')
-rw-r--r--graphics/simpleviewer/files/patch-src_fileslist.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/simpleviewer/files/patch-src_fileslist.cpp b/graphics/simpleviewer/files/patch-src_fileslist.cpp
new file mode 100644
index 000000000000..4cce9d72563d
--- /dev/null
+++ b/graphics/simpleviewer/files/patch-src_fileslist.cpp
@@ -0,0 +1,10 @@
+--- src/fileslist.cpp.orig 2010-05-13 07:15:11.000000000 +0000
++++ src/fileslist.cpp
+@@ -8,6 +8,7 @@
+ #include "fileslist.h"
+ #include <iostream>
+ #include <dirent.h>
++#include <unistd.h>
+
+ CFilesList::CFilesList(const char* file, bool recursive) : m_listCreated(false), m_recursive(recursive), m_position(0), m_removeCurrent(false) {
+ if(file != 0) {