diff mbox series

[1/1] reexport: add a missing header include

Message ID 20231206213228.55481-1-olga.kornievskaia@gmail.com (mailing list archive)
State New
Headers show
Series [1/1] reexport: add a missing header include | expand

Commit Message

Olga Kornievskaia Dec. 6, 2023, 9:32 p.m. UTC
From: Olga Kornievskaia <kolga@netapp.com>

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 <kolga@netapp.com>
---
 support/reexport/reexport.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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"