summaryrefslogtreecommitdiff
path: root/libc/include/android/api-level.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-07-22 14:56:18 -0700
committerElliott Hughes <enh@google.com>2016-07-22 17:01:54 -0700
commit203e13d97de840e01eded6a267fef9f245cf3a15 (patch)
tree83517885755d8c28f7f6934bff67f7ad36addf39 /libc/include/android/api-level.h
parent767e8147d7f38bd9a23100ec9fa07b6a14a8b680 (diff)
Always include <sys/cdefs.h>.
I made a mistake caught by code review earlier, so let's try to be safer by default. This patch also moves all our "forwarding" headers to the guardless just-include-the-other-thing style that we usually use. (Where we have a comment explaining where the header comes from, I've kept that.) Change-Id: I37342cf5e2563c6a269b2ba61a697069b1c7913b
Diffstat (limited to 'libc/include/android/api-level.h')
-rw-r--r--libc/include/android/api-level.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/android/api-level.h b/libc/include/android/api-level.h
index b230cefe4..001877b5d 100644
--- a/libc/include/android/api-level.h
+++ b/libc/include/android/api-level.h
@@ -29,6 +29,8 @@
#ifndef ANDROID_API_LEVEL_H
#define ANDROID_API_LEVEL_H
+#include <sys/cdefs.h>
+
/*
* Magic version number for a current development build, which has
* not yet turned into an official release.