diff options
author | Jonathan Pryor <jonpryor@vt.edu> | 2013-03-28 07:28:56 +0400 |
---|---|---|
committer | Jonathan Pryor <jonpryor@vt.edu> | 2013-03-28 07:29:50 +0400 |
commit | 7a30dcccb9b080a995193e1e9237c1df1cb60545 (patch) | |
tree | 5bcd7c9fb3e4a0751c253de860219465957c67f2 /support | |
parent | 7547f6f2f1162a62129e669710053e7c2b8293ad (diff) |
Fix build break.
5329fab3 requires <sys/uio.h>, which wasn't being included.
Diffstat (limited to 'support')
-rw-r--r-- | support/Makefile.am | 1 | ||||
-rw-r--r-- | support/map.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/support/Makefile.am b/support/Makefile.am index 0ae77e769b9..c339ebced73 100644 --- a/support/Makefile.am +++ b/support/Makefile.am @@ -142,6 +142,7 @@ refresh: --autoconf-header="<sys/statvfs.h>" \ --autoconf-header="<sys/xattr.h>" \ --autoconf-header="<sys/mman.h>" \ + --autoconf-header="<sys/uio.h>" \ --autoconf-header="<unistd.h>" \ --impl-header="<fcntl.h>" \ --impl-header="<signal.h>" \ diff --git a/support/map.c b/support/map.c index 8374331c09a..42fdf7cfaad 100644 --- a/support/map.c +++ b/support/map.c @@ -45,6 +45,9 @@ #ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif /* ndef HAVE_SYS_MMAN_H */ +#ifdef HAVE_SYS_UIO_H +#include <sys/uio.h> +#endif /* ndef HAVE_SYS_UIO_H */ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif /* ndef HAVE_UNISTD_H */ |