aboutsummaryrefslogtreecommitdiff
path: root/include/compat/sys/time.h
blob: 235bc6eea5f716def2c15e9eaf1b8d1aad8a1fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Public domain
 * sys/time.h compatibility shim
 */

#ifndef LIBCRYPTOCOMPAT_SYS_TIME_H
#define LIBCRYPTOCOMPAT_SYS_TIME_H

#ifdef _MSC_VER
#include <winsock2.h>
int gettimeofday(struct timeval *tp, void *tzp);
#else
#include_next <sys/time.h>
#endif

#endif