security/heaan: fix build on GCC architectures
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)
This commit is contained in:
parent
5fa5afb692
commit
d976f5199d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552103
10
security/heaan/files/patch-TimeUtils.h
Normal file
10
security/heaan/files/patch-TimeUtils.h
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- ../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;
|
Loading…
Reference in New Issue
Block a user