From a23577c64708e43dd5e35ea7256f1f366f00a38e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sun, 28 Apr 2024 23:18:48 +0200 Subject: [PATCH] buffer: replace include of c.h with stddef.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The interface of the buffer library only requires size_t. It's enough to include stddef.h for that. Signed-off-by: Thomas Weißschuh --- include/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/buffer.h b/include/buffer.h index b122da4eb4..1c1be31122 100644 --- a/include/buffer.h +++ b/include/buffer.h @@ -5,7 +5,7 @@ #ifndef UTIL_LINUX_BUFFER #define UTIL_LINUX_BUFFER -#include "c.h" +#include struct ul_buffer { char *begin; /* begin of the data */ -- 2.47.3