summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorJan-Erik Rediger <badboy@archlinux.us>2015-03-27 14:28:47 +0100
committerJan-Erik Rediger <badboy@archlinux.us>2015-03-27 14:28:47 +0100
commit421e0f33f45a1a175149b270032c75f533cea0e3 (patch)
tree0d9caedaca5de6c20b7e15c6786f1a6662f1fa87 /read.c
parent30814af63cfaecd5c371e82e0bb484802e5dff67 (diff)
parentec229678c22e673e8d48070593f7b028a514882a (diff)
Merge pull request #314 from tzickel/master
Added support for compiling the parser code with Microsoft Visual C compiler.
Diffstat (limited to 'read.c')
-rw-r--r--read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/read.c b/read.c
index 457ac68..df1a467 100644
--- a/read.c
+++ b/read.c
@@ -33,7 +33,9 @@
#include "fmacros.h"
#include <string.h>
#include <stdlib.h>
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include <assert.h>
#include <errno.h>
#include <ctype.h>