Chromium Code Reviews| Index: build/build_config.h |
| diff --git a/build/build_config.h b/build/build_config.h |
| index 538995ba544bc43abdb2a48442d8db3b28e7ef03..57eb9a8cc288e777b580050704a77b559248b1ed 100644 |
| --- a/build/build_config.h |
| +++ b/build/build_config.h |
| @@ -30,6 +30,8 @@ |
| #define OS_NACL 1 |
| #elif defined(__linux__) |
| #define OS_LINUX 1 |
| +// include a system header to pull in features.h for glibc/uclibc macros. |
| +#include <unistd.h> |
| #if defined(__GLIBC__) && !defined(__UCLIBC__) |
| // we really are using glibc, not uClibc pretending to be glibc |
| #define LIBC_GLIBC 1 |