blob: 3679682de070ed02631b6b08fa6f5b5098c71e75 [file] [log] [blame]
mark a. foltzcbdea4b2019-11-18 16:49:14 -08001// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef PLATFORM_IMPL_TIMEVAL_POSIX_H_
6#define PLATFORM_IMPL_TIMEVAL_POSIX_H_
7
8#include <sys/time.h> // timeval
9
10#include "platform/api/time.h"
11
12namespace openscreen {
13namespace platform {
14
15struct timeval ToTimeval(const Clock::duration& timeout);
16
17} // namespace platform
18} // namespace openscreen
19
20#endif // PLATFORM_IMPL_TIMEVAL_POSIX_H_