summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.cc b/config.cc
index 5b25d066..f6ffef0e 100644
--- a/config.cc
+++ b/config.cc
@@ -11,6 +11,8 @@
#include <cstdlib>
#ifdef WIN32
#include <io.h>
+#else
+#include <unistd.h>
#endif
namespace ledger {