summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Mazur <19613255+OlekMazur@users.noreply.github.com>2024-01-05 19:08:06 (GMT)
committerThomas Haller <thaller@redhat.com>2024-01-08 09:04:01 (GMT)
commit8693347fe9c47d08ce5899602ab4f208c1249619 (patch)
treeab167fdb355f21519790d7ca6d21e025e07aa4d8
parentbdf83151326e365f137fe0e36dc9b1b7aeb1cf33 (diff)
downloadlibnl-8693347fe9c47d08ce5899602ab4f208c1249619.zip
libnl-8693347fe9c47d08ce5899602ab4f208c1249619.tar.gz
libnl-8693347fe9c47d08ce5899602ab4f208c1249619.tar.bz2
lib/xfrm: add missing #include <time.h>
https://github.com/thom311/libnl/issues/370 https://github.com/thom311/libnl/pull/371
-rw-r--r--lib/xfrm/ae.c1
-rw-r--r--lib/xfrm/sp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/xfrm/ae.c b/lib/xfrm/ae.c
index 9af73a8..1898038 100644
--- a/lib/xfrm/ae.c
+++ b/lib/xfrm/ae.c
@@ -122,6 +122,7 @@
#include "nl-default.h"
+#include <time.h>
#include <linux/xfrm.h>
#include <netlink/netlink.h>
diff --git a/lib/xfrm/sp.c b/lib/xfrm/sp.c
index a996455..3491fd7 100644
--- a/lib/xfrm/sp.c
+++ b/lib/xfrm/sp.c
@@ -41,6 +41,7 @@
#include "nl-default.h"
+#include <time.h>
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/object.h>