git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
[kai/samba.git]
/
source3
/
tests
/
sysv_ipc.c
diff --git
a/source3/tests/sysv_ipc.c
b/source3/tests/sysv_ipc.c
index 13956ec6f086f3b4f4202be0b0ed83ed61523da4..9f0e20957a2983896400108120b77d50acaa7da5 100644
(file)
--- a/
source3/tests/sysv_ipc.c
+++ b/
source3/tests/sysv_ipc.c
@@
-1,7
+1,9
@@
/* this tests whether we can use a sysv shared memory segment
as needed for the sysv varient of FAST_SHARE_MODES */
+#if defined(HAVE_UNISTD_H)
#include <unistd.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ipc.h>