misc/ecflow: Fix build on 12

Missing #include <time.h> caused build failure.

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2022-09-04 10:26:09 -07:00
parent fe590ebd66
commit 234aeaa0b3

View File

@ -0,0 +1,14 @@
- fixes failure: error: use of undeclared identifier 'time' on FreeBSD 12
- This seems to be a general problem that this header isn't included.
- it's unclear how to report bugs: emails to Software.Software@ecmwf.int bounce, and linked JIRA account has no such project.
--- ACore/src/Passwd.cpp.orig 2022-09-04 16:37:50 UTC
+++ ACore/src/Passwd.cpp
@@ -13,6 +13,7 @@
// Description :
//============================================================================
+#include <time.h> // for time(3)
#include <unistd.h>
#include "Passwd.hpp"