commit | 414dd2d6b5fbbaf23423abe5cdee7f40f9d95ec1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 16 14:48:30 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Wed Oct 16 14:48:30 2024 +0000 |
tree | ca898cdffaeeb8f2e796fa4627c754c770ed227c | |
parent | 4abb16385b2e1e7af478126a10a0ed6d208bc60f [diff] [blame] |
Always include <sys/cdefs.h> first. Otherwise you can't be sure that things like __BIONIC__ work. Change-Id: Ic5e59988b69419828c3b1a97332c7e2ab58e09a1
diff --git a/libc/include/err.h b/libc/include/err.h index d8122d7..4a1841b 100644 --- a/libc/include/err.h +++ b/libc/include/err.h
@@ -36,8 +36,9 @@ * @brief BSD error reporting functions. See `<error.h>` for the GNU equivalent. */ -#include <stdarg.h> #include <sys/cdefs.h> + +#include <stdarg.h> #include <sys/types.h> __BEGIN_DECLS