support/reexport: guard dlfcn.h include with HAVE_DLFCN_H
Subsystems (2)
PATCH 1/1 support/reexport: guard dlfcn.h include with HAVE_DLFCN_H
From: Bernd Kuhls <[email protected]>
Signed-off-by Bernd Kuhls <[email protected]>
Signed-off-by Giulio Benetti <[email protected]>
--- support/reexport/fsidd.c | 2 ++ support/reexport/reexport.c | 2 ++ 2 files changed, 4 insertions(+)
support/reexport/fsidd.c +2 -0
@@ -3,7 +3,9 @@#endif #include <assert.h> +#ifdef HAVE_DLFCN_H #include <dlfcn.h> +#endif #include <event2/event.h> #include <limits.h> #include <stdint.h>
support/reexport/reexport.c +2 -0
@@ -2,7 +2,9 @@#include <config.h> #endif +#ifdef HAVE_DLFCN_H #include <dlfcn.h> +#endif #include <stdint.h> #include <stdio.h> #include <sys/random.h>
Signature · 1 line
2.34.1
Quoted 4 lines · Giulio Benetti
From: Bernd Kuhls <[email protected]>
Signed-off-by Bernd Kuhls <[email protected]>Signed-off-by Giulio Benetti <[email protected]>
Committed... (tag: nfs-utils-2-6-4-rc2)
steved.
Quoted 33 lines
--- support/reexport/fsidd.c | 2 ++ support/reexport/reexport.c | 2 ++ 2 files changed, 4 insertions(+)support/reexport/fsidd.c +2
-0@@ -3,7 +3,9 @@#endif #include <assert.h> +#ifdef HAVE_DLFCN_H #include <dlfcn.h> +#endif #include <event2/event.h> #include <limits.h> #include <stdint.h> support/reexport/reexport.c +2
-0@@ -2,7 +2,9 @@#include <config.h> #endif +#ifdef HAVE_DLFCN_H #include <dlfcn.h> +#endif #include <stdint.h> #include <stdio.h> #include <sys/random.h>