1
0
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:
Mike Purvis 2013-10-10 16:32:04 -04:00
parent b992bce88f
commit e0967cd3fc

View File

@ -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