1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/sandbox/chromium/base/os_compat_nacl.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +// Copyright (c) 2012 The Chromium Authors. All rights reserved. 1.5 +// Use of this source code is governed by a BSD-style license that can be 1.6 +// found in the LICENSE file. 1.7 + 1.8 +#ifndef BASE_OS_COMPAT_NACL_H_ 1.9 +#define BASE_OS_COMPAT_NACL_H_ 1.10 + 1.11 +#include <sys/types.h> 1.12 + 1.13 +#if !defined (__GLIBC__) 1.14 +// NaCl has no timegm(). 1.15 +extern "C" time_t timegm(struct tm* const t); 1.16 +#endif // !defined (__GLIBC__) 1.17 + 1.18 +#endif // BASE_OS_COMPAT_NACL_H_ 1.19 +