]> git.puffer.fish Git - mirror/frr.git/commitdiff
pceplib: add <time.h> include for time_t 12752/head
authorSam James <sam@gentoo.org>
Sat, 4 Feb 2023 23:29:59 +0000 (23:29 +0000)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 Feb 2023 09:07:05 +0000 (09:07 +0000)
Fixes build on musl. Used for time_t in the header.

Bug: https://bugs.gentoo.org/862558
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 3c8c112df4d72d98c8646df1495cf26a84c2c3b7)

pceplib/pcep_utils_counters.h

index 240e9758b78b4089d01915beb44796425abbf4d0..b10ced7d656c87256c298bf5a6648d097e1241e4 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stdbool.h>
 #include <stdint.h>
+#include <time.h>
 
 #ifdef __cplusplus
 extern "C" {