mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +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
|
||||
#define SERIAL_IMPL_UNIX_TIMESPEC_H
|
||||
|
||||
#include <time.h>
|
||||
|
||||
/*! Smooth over platform variances in getting an accurate timespec
|
||||
* representing the present moment. */
|
||||
static inline struct timespec
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user