1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Boyuan Yang <byang@debian.org>
Date: Wed, 28 Feb 2024 10:53:31 -0500
Subject: include/kernel.h: Include missing string.h to avoid FTBFS
With -Werror=implicit-function-declaration, the project will FTBFS
due to using strlen without including <string.h>.
---
include/kernel.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/kernel.h b/include/kernel.h
index d18e175..5905e7f 100644
--- a/include/kernel.h
+++ b/include/kernel.h
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <signal.h>
+#include <string.h>
#include "site.h"
#include "funcproto.h"
|