summaryrefslogtreecommitdiff
path: root/orc/orccodemem.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-12-02 15:04:39 -0800
committerDavid Schleef <ds@schleef.org>2009-12-02 15:20:26 -0800
commit86f3f83f0e7a4d08a01e601f8e422a0fddac6a88 (patch)
tree54c2ac964f015194c59886c798adb41790979b13 /orc/orccodemem.c
parent0acec171e9acfd147ffac090f2fcccc0b557da4f (diff)
downloadorc-86f3f83f0e7a4d08a01e601f8e422a0fddac6a88.tar.gz
Build fixes due to MSVC
Diffstat (limited to 'orc/orccodemem.c')
-rw-r--r--orc/orccodemem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/orc/orccodemem.c b/orc/orccodemem.c
index 2a94be4..44034f6 100644
--- a/orc/orccodemem.c
+++ b/orc/orccodemem.c
@@ -5,7 +5,9 @@
#include <string.h>
#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>