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/dlfcn.h b/libc/include/dlfcn.h index 071d50a..1b0d11b 100644 --- a/libc/include/dlfcn.h +++ b/libc/include/dlfcn.h
@@ -28,9 +28,10 @@ #pragma once -#include <stdint.h> #include <sys/cdefs.h> +#include <stdint.h> + __BEGIN_DECLS /**