commit | b81046202842427a7e894a6bcb357971332997b0 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Aug 19 09:18:03 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Aug 19 09:18:03 2014 -0700 |
tree | 2d42ca4acacd3a57837e93f81824edfc72665a49 | |
parent | 0baf2ca34c7d9ec067b1f33bad69782c2dedc231 [diff] [blame] |
Fix _BSD_SOURCE/__USE_BSD. Bug: 14659579 Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h index 34ad2c5..488b5f9 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. */