Index: base/os_compat_nacl.h |
diff --git a/base/os_compat_nacl.h b/base/os_compat_nacl.h |
index 5c4b9a1b9be03a62a09223fa36e41f0bfca99b2f..13e0e3f8dd12f484375a3fff67789e6ef6a1d804 100644 |
--- a/base/os_compat_nacl.h |
+++ b/base/os_compat_nacl.h |
@@ -7,8 +7,10 @@ |
#include <sys/types.h> |
+#if !defined (__GLIBC__) |
// NaCl has no timegm(). |
extern "C" time_t timegm(struct tm* const t); |
+#endif // !defined (__GLIBC__) |
#endif // BASE_OS_COMPAT_NACL_H_ |