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