summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-04 21:56:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-04 21:56:10 +0300
commit7bc16e64bf729263b7560fd7c3436b251fb87ff6 (patch)
tree9ca0cbc8a507f7c2e5eddb288727ec1eb76ed81d /src/fs
parent09b15a6890601a8e5077962b1fe994ed6f9720c8 (diff)
downloadmv-7bc16e64bf729263b7560fd7c3436b251fb87ff6.tar.gz
mv-7bc16e64bf729263b7560fd7c3436b251fb87ff6.tar.bz2
mv-7bc16e64bf729263b7560fd7c3436b251fb87ff6.tar.xz
mv-7bc16e64bf729263b7560fd7c3436b251fb87ff6.zip
Add missing include for non linux systems.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/paths.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp
index 8a9969461..06e87c2f0 100644
--- a/src/fs/paths.cpp
+++ b/src/fs/paths.cpp
@@ -49,6 +49,7 @@
#endif // WIN32
#ifndef WIN32
+#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#endif // WIN32