misc/ecflow: Fix build on 12
Missing #include <time.h> caused build failure. Reported by: fallout
This commit is contained in:
parent
fe590ebd66
commit
234aeaa0b3
14
misc/ecflow/files/patch-ACore_src_Passwd.cpp
Normal file
14
misc/ecflow/files/patch-ACore_src_Passwd.cpp
Normal 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"
|
Loading…
Reference in New Issue
Block a user