summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
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