mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
include cstdlib for use of rand
This commit is contained in:
parent
5535b8a4f5
commit
7eb0875a0b
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "SharedUtil.h"
|
#include "SharedUtil.h"
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
double usecTimestamp(timeval *time) {
|
double usecTimestamp(timeval *time) {
|
||||||
return (time->tv_sec * 1000000.0 + time->tv_usec);
|
return (time->tv_sec * 1000000.0 + time->tv_usec);
|
||||||
|
|
Loading…
Reference in a new issue