projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wrap unistd.h include in HAVE_UNISTD_H check.
[mono.git]
/
mono
/
metadata
/
sgen-cardtable.c
diff --git
a/mono/metadata/sgen-cardtable.c
b/mono/metadata/sgen-cardtable.c
index ddd1d6d2ea184e959925ff44b745261890c06c81..971058f0cb267ce422fef37d468fdfcc8f5cacfb 100644
(file)
--- a/
mono/metadata/sgen-cardtable.c
+++ b/
mono/metadata/sgen-cardtable.c
@@
-44,7
+44,9
@@
//#define CARDTABLE_STATS
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif