2023-12-06 21:32:35

by Olga Kornievskaia

[permalink] [raw]
Subject: [PATCH 1/1] reexport: add a missing header include

From: Olga Kornievskaia <[email protected]>

Use of offsetof() function needs a stddef.h header include.

Fixes: 46f91dc8f0d9 ("fsidd: call anonymous sockets by their name only,
don't fill with NULs to 108 bytes")
Signed-off-by: Olga Kornievskaia <[email protected]>
---
support/reexport/reexport.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/support/reexport/reexport.c b/support/reexport/reexport.c
index 0fb49a46..7f305267 100644
--- a/support/reexport/reexport.c
+++ b/support/reexport/reexport.c
@@ -8,6 +8,7 @@
#include <sys/types.h>
#include <sys/vfs.h>
#include <errno.h>
+#include <stddef.h>

#include "nfsd_path.h"
#include "conffile.h"
--
2.39.1