sys_time: include <exception> on NOT WIN32
This commit is contained in:
@@ -118,6 +118,7 @@ static int clock_gettime(int clk_id, struct timespec* tp)
|
|||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
||||||
|
#include <exception>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
static struct timespec start_time = []()
|
static struct timespec start_time = []()
|
||||||
|
|||||||
Reference in New Issue
Block a user