diff options
author | Colin Cross <ccross@android.com> | 2021-12-15 14:55:55 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2022-03-29 15:27:09 -0700 |
commit | 7cef7187c8a78438a6b7c8bfd42d9da3c95e9a2b (patch) | |
tree | 3416b7b19ae040a3318b01beefc86a8db59bc061 /ioshark | |
parent | a2b046a57848693a032c50d790606ac9ce86cd87 (diff) | |
download | extras-7cef7187c8a78438a6b7c8bfd42d9da3c95e9a2b.tar.gz |
Support building ioshark against musl
Support building ioshark against musl by using the standard errno.h
header instead of sys/errno.h.
Bug: 190084016
Test: m USE_HOST_MUSL=true host-native
Change-Id: Ic5b4713e6fe746e1c20ed4517dfd69f05423d63a
Diffstat (limited to 'ioshark')
-rw-r--r-- | ioshark/compile_ioshark.c | 2 | ||||
-rw-r--r-- | ioshark/compile_ioshark_subr.c | 2 | ||||
-rw-r--r-- | ioshark/convert_format.c | 2 | ||||
-rw-r--r-- | ioshark/dump_ioshark_filenames.c | 2 | ||||
-rw-r--r-- | ioshark/ioshark_bench.c | 2 | ||||
-rw-r--r-- | ioshark/ioshark_bench_mmap.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/ioshark/compile_ioshark.c b/ioshark/compile_ioshark.c index 13755299..fe9085cf 100644 --- a/ioshark/compile_ioshark.c +++ b/ioshark/compile_ioshark.c @@ -22,7 +22,7 @@ #include <signal.h> #include <string.h> #include <sys/stat.h> -#include <sys/errno.h> +#include <errno.h> #include <fcntl.h> #include <ctype.h> #include "ioshark.h" diff --git a/ioshark/compile_ioshark_subr.c b/ioshark/compile_ioshark_subr.c index 43fb2544..6fc301cc 100644 --- a/ioshark/compile_ioshark_subr.c +++ b/ioshark/compile_ioshark_subr.c @@ -21,7 +21,7 @@ #include <stdlib.h> #include <string.h> #include <sys/stat.h> -#include <sys/errno.h> +#include <errno.h> #include "ioshark.h" #include "compile_ioshark.h" #include <endian.h> diff --git a/ioshark/convert_format.c b/ioshark/convert_format.c index 3436ca77..989bfcb8 100644 --- a/ioshark/convert_format.c +++ b/ioshark/convert_format.c @@ -22,7 +22,7 @@ #include <signal.h> #include <string.h> #include <sys/stat.h> -#include <sys/errno.h> +#include <errno.h> #include <fcntl.h> #include <ctype.h> #include <endian.h> diff --git a/ioshark/dump_ioshark_filenames.c b/ioshark/dump_ioshark_filenames.c index c082c274..a28ab790 100644 --- a/ioshark/dump_ioshark_filenames.c +++ b/ioshark/dump_ioshark_filenames.c @@ -21,7 +21,7 @@ #include <signal.h> #include <string.h> #include <sys/stat.h> -#include <sys/errno.h> +#include <errno.h> #include <fcntl.h> #include <ctype.h> #include "ioshark.h" diff --git a/ioshark/ioshark_bench.c b/ioshark/ioshark_bench.c index e44a2a53..9540b741 100644 --- a/ioshark/ioshark_bench.c +++ b/ioshark/ioshark_bench.c @@ -22,7 +22,7 @@ #include <stdlib.h> #include <string.h> #include <sys/stat.h> -#include <sys/errno.h> +#include <errno.h> #include <fcntl.h> #include <string.h> #include <assert.h> diff --git a/ioshark/ioshark_bench_mmap.c b/ioshark/ioshark_bench_mmap.c index e8b3acce..3b37fbf6 100644 --- a/ioshark/ioshark_bench_mmap.c +++ b/ioshark/ioshark_bench_mmap.c @@ -23,7 +23,7 @@ #include <string.h> #include <pthread.h> #include <sys/stat.h> -#include <sys/errno.h> +#include <errno.h> #include <fcntl.h> #include <string.h> #include <assert.h> |