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/syslog.h b/libc/include/syslog.h index 33979f0..7a594f1 100644 --- a/libc/include/syslog.h +++ b/libc/include/syslog.h
@@ -56,8 +56,9 @@ #pragma once -#include <stdio.h> #include <sys/cdefs.h> + +#include <stdio.h> #include <stdarg.h> __BEGIN_DECLS