diff options
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | lib/device/device.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,6 @@ Version 2.02.79 - =================================== + Fix device.c #include to ensure 64-bit fopen64 use. (2.02.51) Create /var/run/lvm directory during clvmd initialisation if missing. Use new dm_prepare_selinux_context instead of dm_set_selinux_context. Avoid revalidating the label cache immediately after scanning. diff --git a/lib/device/device.c b/lib/device/device.c index 91eb14c8..80b44794 100644 --- a/lib/device/device.c +++ b/lib/device/device.c @@ -13,7 +13,6 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <libgen.h> /* dirname, basename */ #include "lib.h" #include "lvm-types.h" #include "device.h" @@ -21,6 +20,8 @@ #include "filter.h" #include "xlate.h" +#include <libgen.h> /* dirname, basename */ + /* See linux/genhd.h and fs/partitions/msdos */ #define PART_MAGIC 0xAA55 |