git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[samba.git]
/
source
/
tests
/
ftruncate.c
diff --git
a/source/tests/ftruncate.c
b/source/tests/ftruncate.c
index 8d5e8942e379867802efd1bb5ddc3a929a2ab052..93282782eedb15207ce51e42baaa377c9fc2961a 100644
(file)
--- a/
source/tests/ftruncate.c
+++ b/
source/tests/ftruncate.c
@@
-1,6
+1,9
@@
/* test whether ftruncte() can extend a file */
+#if defined(HAVE_UNISTD_H)
#include <unistd.h>
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>