MFH: r552103

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;
      |                 ^~~~~~~~~

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-10-12 07:27:15 +00:00
parent a9f497b53b
commit e3e4f690c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=552104

View 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;