Some of them are needed but included elsewhere, e.g. <sys/socket.h> included in nfslib.h or <string.h> included in xcommon.h, but at least <sys/random.h> is removed due further code simplification. Fixes: 878674b3 ("Add reexport helper library") Signed-off-by: Petr Vorel <pvorel@xxxxxxx> --- support/reexport/reexport.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/support/reexport/reexport.c b/support/reexport/reexport.c index d9a700af..78516586 100644 --- a/support/reexport/reexport.c +++ b/support/reexport/reexport.c @@ -5,16 +5,9 @@ #ifdef HAVE_DLFCN_H #include <dlfcn.h> #endif -#include <stdint.h> -#include <stdio.h> -#include <sys/random.h> -#include <sys/stat.h> #include <sys/types.h> #include <sys/vfs.h> -#include <unistd.h> #include <errno.h> -#include <sys/socket.h> -#include <sys/un.h> #include "nfsd_path.h" #include "conffile.h" -- 2.42.0