summaryrefslogtreecommitdiffstats
path: root/base/os_compat_nacl.h
blob: 13e0e3f8dd12f484375a3fff67789e6ef6a1d804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef BASE_OS_COMPAT_NACL_H_
#define BASE_OS_COMPAT_NACL_H_

#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_