SwordArMor-gentoo-overlay/net-misc/frr/files/frr-8.4.2-musl-gcc12.patch

22 lines
525 B
Diff

https://github.com/FRRouting/frr/pull/12741
From def86a45a473a45bf8ac39ac4b82be3d09ae9cae Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sat, 4 Feb 2023 23:29:59 +0000
Subject: [PATCH] pceplib: add <time.h> include for time_t
Fixes build on musl. Used for time_t in the header.
Bug: https://bugs.gentoo.org/862558
--- a/pceplib/pcep_utils_counters.h
+++ b/pceplib/pcep_utils_counters.h
@@ -30,6 +30,7 @@
#include <stdbool.h>
#include <stdint.h>
+#include <time.h>
#ifdef __cplusplus
extern "C" {