1 // 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 
12 namespace openscreen {
13 
14 struct timeval ToTimeval(const Clock::duration& timeout);
15 
16 }  // namespace openscreen
17 
18 #endif  // PLATFORM_IMPL_TIMEVAL_POSIX_H_
19