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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Olga Kornievskaia <kolga@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux