forked from Lainports/freebsd-ports
Patch created manually, because WRKSRC differs.
Add include sys/time.h:
In file included from ../src/TestScheme.cpp:20:
../src/TimeUtils.h:20:17: error: field 'startTime' has incomplete type 'timeval'
20 | struct timeval startTime, stopTime;
| ^~~~~~~~~
MFH: 2020Q4 (fix build blanket)
10 lines
260 B
C++
10 lines
260 B
C++
--- ../src/TimeUtils.h.orig 2020-10-12 09:20:15.992285000 +0200
|
|
+++ ../src/TimeUtils.h 2020-10-12 09:20:25.674915000 +0200
|
|
@@ -8,6 +8,7 @@
|
|
#ifndef HEAAN_TIMEUTILS_H_
|
|
#define HEAAN_TIMEUTILS_H_
|
|
|
|
+#include <sys/time.h>
|
|
#include <iostream>
|
|
|
|
struct timeval;
|