]> git.puffer.fish Git - mirror/frr.git/commitdiff
pceplib: add <time.h> include for time_t 12741/head
authorSam James <sam@gentoo.org>
Sat, 4 Feb 2023 23:29:59 +0000 (23:29 +0000)
committerSam James <sam@gentoo.org>
Mon, 6 Feb 2023 20:31:22 +0000 (20:31 +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>
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" {