summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/directory.cc4
-rw-r--r--plugingui/directory.h1
-rw-r--r--plugingui/filebrowser.cc1
3 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc
index 96ed5b7..083c8e4 100644
--- a/plugingui/directory.cc
+++ b/plugingui/directory.cc
@@ -32,6 +32,7 @@
#include <algorithm>
#include <vector>
#include <string.h>
+#include <unistd.h>
#include <platform.h>
@@ -51,7 +52,8 @@
#define SEP "/"
#endif
-namespace GUI {
+namespace GUI
+{
Directory::Directory(std::string path)
{
diff --git a/plugingui/directory.h b/plugingui/directory.h
index 1acc0bf..100204a 100644
--- a/plugingui/directory.h
+++ b/plugingui/directory.h
@@ -33,7 +33,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#define DIRECTORY_HIDDEN 1
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc
index 62f7775..8854f6e 100644
--- a/plugingui/filebrowser.cc
+++ b/plugingui/filebrowser.cc
@@ -37,7 +37,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#include <platform.h>
#include <hugin.hpp>