diff options
author | Elliott Hughes <enh@google.com> | 2014-08-19 09:18:03 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-08-19 09:18:03 -0700 |
commit | b81046202842427a7e894a6bcb357971332997b0 (patch) | |
tree | 2d42ca4acacd3a57837e93f81824edfc72665a49 /libc/upstream-openbsd | |
parent | 0baf2ca34c7d9ec067b1f33bad69782c2dedc231 (diff) | |
download | bionic-b81046202842427a7e894a6bcb357971332997b0.tar.gz bionic-b81046202842427a7e894a6bcb357971332997b0.tar.bz2 bionic-b81046202842427a7e894a6bcb357971332997b0.zip |
Fix _BSD_SOURCE/__USE_BSD.
Bug: 14659579
Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
Diffstat (limited to 'libc/upstream-openbsd')
-rw-r--r-- | libc/upstream-openbsd/android/include/openbsd-compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h index 34ad2c5c8..488b5f95b 100644 --- a/libc/upstream-openbsd/android/include/openbsd-compat.h +++ b/libc/upstream-openbsd/android/include/openbsd-compat.h @@ -17,11 +17,11 @@ #ifndef _BIONIC_OPENBSD_COMPAT_H_included #define _BIONIC_OPENBSD_COMPAT_H_included +#define _BSD_SOURCE + #include <sys/cdefs.h> #include <stddef.h> // For size_t. -#define __USE_BSD - /* OpenBSD's <ctype.h> uses these names, which conflicted with stlport. * Additionally, we changed the numeric/digit type from N to D for libcxx. */ |