Browse Source

compat: missing #include

pull/35/merge
Rémi Denis-Courmont 10 years ago
parent
commit
77874cb23e
  1. 3
      compat/timespec_get.c

3
compat/timespec_get.c

@ -27,6 +27,9 @@
#ifndef _POSIX_TIMERS
#define _POSIX_TIMERS (-1)
#endif
#if (_POSIX_TIMERS <= 0)
# include <sys/time.h> /* gettimeofday() */
#endif
int timespec_get(struct timespec *ts, int base)
{

Loading…
Cancel
Save