From 53d77b810f036281b8ab65c1cea770f9060bd3c0 Mon Sep 17 00:00:00 2001 From: Alex Hornung Date: Sun, 15 Aug 2010 13:24:24 +0100 Subject: [PATCH] lvm - don't forget to include dlfcn.h * dlfcn is needed for some of the functions used in toolcontext.c, so include it on DragonFly, too. Reported-by: Sascha Wildner (swildner@) --- contrib/lvm2/dist/lib/commands/toolcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lvm2/dist/lib/commands/toolcontext.c b/contrib/lvm2/dist/lib/commands/toolcontext.c index 41cdddc0bf..33ccaa0dac 100644 --- a/contrib/lvm2/dist/lib/commands/toolcontext.c +++ b/contrib/lvm2/dist/lib/commands/toolcontext.c @@ -845,7 +845,7 @@ int lvm_register_segtype(struct segtype_library *seglib, return 1; } -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__DragonFly__) #include #endif -- 2.41.0