diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-08 08:01:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-08 08:51:48 +0200 |
commit | 2c741efc993186c1f814ba0aaaf89cf80f911196 (patch) | |
tree | 5beea5b13771ae522b26c005d631d2f69dd3744d | |
parent | de710cee37dafba74ee16e5aa529f39560ecae0c (diff) | |
download | samba-2c741efc993186c1f814ba0aaaf89cf80f911196.tar.gz samba-2c741efc993186c1f814ba0aaaf89cf80f911196.tar.bz2 samba-2c741efc993186c1f814ba0aaaf89cf80f911196.zip |
lib/replace: include <sys/uio.h> in "system/filesys.h" in order to have struct iovec
This is needed on some platforms, e.g. NetBSD5.
metze
-rw-r--r-- | lib/replace/system/filesys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h index 6cf2dd287a..47ea4e4030 100644 --- 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. |