git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de710ce
)
lib/replace: include <sys/uio.h> in "system/filesys.h" in order to have struct iovec
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Sep 2011 06:01:30 +0000
(08:01 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Sep 2011 06:51:48 +0000
(08:51 +0200)
This is needed on some platforms, e.g. NetBSD5.
metze
lib/replace/system/filesys.h
patch
|
blob
|
history
diff --git
a/lib/replace/system/filesys.h
b/lib/replace/system/filesys.h
index 6cf2dd287ada1d4b79b7b54c83e363a05414899b..47ea4e4030676bec827f76baa35b393307d5ee1e 100644
(file)
--- a/
lib/replace/system/filesys.h
+++ b/
lib/replace/system/filesys.h
@@
-100,6
+100,10
@@
#include <sys/ioctl.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
/*
* Veritas File System. Often in addition to native.
* Quotas different.