Signed-off-by: Michael Tremer <[email protected]>
---
 lfs/pmacct | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lfs/pmacct b/lfs/pmacct
index 91de82d3f..b56469a8e 100644
--- a/lfs/pmacct
+++ b/lfs/pmacct
@@ -40,6 +40,9 @@ DEPS       = libcdada
 
 SERVICES   = pmacct
 
+# Fix build with GCC 15
+CFLAGS += -std=gnu17
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
-- 
2.39.5


Reply via email to