# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../lvm2/compile.patch.dietlibc # Copyright (C) 2016 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- ./lib/metadata/metadata.c.orig 2006-06-21 18:03:02.000000000 +0200 +++ ./lib/metadata/metadata.c 2006-06-21 18:10:12.000000000 +0200 @@ -24,6 +24,9 @@ #include "pv_alloc.h" #include "activate.h" +#include +#define UINT32_MAX (4294967295U) + static int _add_pv_to_vg(struct format_instance *fid, struct volume_group *vg, const char *pv_name) { --- ./lib/misc/lib.h.orig 2006-07-07 20:17:21.000000000 +0000 +++ ./lib/misc/lib.h 2006-07-07 20:17:48.000000000 +0000 @@ -28,5 +28,6 @@ #include "lvm-types.h" #include +#include #endif