diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2021-12-10 13:23:56 -0600 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2021-12-14 13:06:26 -0600 |
commit | 6941f8bd61a31b9a03d1375243b21ddf28f5aa13 (patch) | |
tree | 6e7b120e84bab9acbcd711b0aadd0ec64a515dd9 /src | |
parent | 36fcbeed1a8de075846b461612a7aa559fca32d1 (diff) | |
download | apk-tools-6941f8bd61a31b9a03d1375243b21ddf28f5aa13.tar.gz apk-tools-6941f8bd61a31b9a03d1375243b21ddf28f5aa13.tar.bz2 apk-tools-6941f8bd61a31b9a03d1375243b21ddf28f5aa13.tar.xz apk-tools-6941f8bd61a31b9a03d1375243b21ddf28f5aa13.zip |
adb: use sys/uio.h for iovec operations
readv/writev and struct iovec are declared in sys/uio.h per POSIX.
using it without sys/uio.h is a GNU extension.
ref #10794
Diffstat (limited to 'src')
-rw-r--r-- | src/adb.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,6 +5,7 @@ #include <errno.h> #include <sys/mman.h> #include <sys/stat.h> +#include <sys/uio.h> #include <openssl/pem.h> #include <openssl/err.h> |