aboutsummaryrefslogtreecommitdiff
path: root/shared/common/port.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 17:31:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 17:31:49 +0000
commit469238676dd466a55b3808461e262f5645f888d1 (patch)
tree97c9e3f508baf64ff204fb99cd12a625231c259c /shared/common/port.c
parent886e1012372ea48f4946f40ad9dee577389b76f2 (diff)
use HAVE_UNISTD_H to determine when to include unistd.h
svn path=/trunk/externals/miXed/; revision=16960
Diffstat (limited to 'shared/common/port.c')
-rw-r--r--shared/common/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/common/port.c b/shared/common/port.c
index 6fdcaef..79a8885 100644
--- a/shared/common/port.c
+++ b/shared/common/port.c
@@ -7,7 +7,7 @@
/* LATER quoting */
/* LATER rethink inlet/inlet~ case */
-#ifdef UNIX
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef _WIN32