mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
Add time.h include to unix-timespec.h
This commit is contained in:
parent
b992bce88f
commit
e0967cd3fc
@ -36,6 +36,8 @@
|
|||||||
#ifndef SERIAL_IMPL_UNIX_TIMESPEC_H
|
#ifndef SERIAL_IMPL_UNIX_TIMESPEC_H
|
||||||
#define SERIAL_IMPL_UNIX_TIMESPEC_H
|
#define SERIAL_IMPL_UNIX_TIMESPEC_H
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
/*! Smooth over platform variances in getting an accurate timespec
|
/*! Smooth over platform variances in getting an accurate timespec
|
||||||
* representing the present moment. */
|
* representing the present moment. */
|
||||||
static inline struct timespec
|
static inline struct timespec
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user