fix from upstream for building with gcc-4.3 http://bugs.gentoo.org/213912 --- lshw-B.02.12.01/src/core/blockio.cc +++ lshw-B.02.12.01/src/core/blockio.cc @@ -11,6 +11,7 @@ #include "blockio.h" #include "osutils.h" #include +#include #include #include #include --- lshw-B.02.12.01/src/core/cdrom.cc +++ lshw-B.02.12.01/src/core/cdrom.cc @@ -23,6 +23,7 @@ #include #include #include +#include #include __ID("@(#) $Id: cdrom.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/cpuid.cc +++ lshw-B.02.12.01/src/core/cpuid.cc @@ -1,6 +1,7 @@ #include "version.h" #include "cpuid.h" #include +#include #include #include #include --- lshw-B.02.12.01/src/core/cpuinfo.cc +++ lshw-B.02.12.01/src/core/cpuinfo.cc @@ -6,6 +6,7 @@ #include #include #include +#include #include __ID("@(#) $Id: cpuinfo.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/device-tree.cc +++ lshw-B.02.12.01/src/core/device-tree.cc @@ -15,7 +15,9 @@ #include #include #include +#include #include +#include #include #include --- lshw-B.02.12.01/src/core/fb.cc +++ lshw-B.02.12.01/src/core/fb.cc @@ -12,6 +12,7 @@ #include #include #include +#include #include __ID("@(#) $Id: fb.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/hw.cc +++ lshw-B.02.12.01/src/core/hw.cc @@ -4,12 +4,14 @@ #include "version.h" #include "options.h" #include "heuristics.h" +#include #include #include #include #include #include #include +#include #include #include --- lshw-B.02.12.01/src/core/ide.cc +++ lshw-B.02.12.01/src/core/ide.cc @@ -23,6 +23,8 @@ #include #include #include +#include +#include #include #include #include --- lshw-B.02.12.01/src/core/ideraid.cc +++ lshw-B.02.12.01/src/core/ideraid.cc @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include --- lshw-B.02.12.01/src/core/lvm.cc +++ lshw-B.02.12.01/src/core/lvm.cc @@ -12,6 +12,7 @@ #include "version.h" #include "lvm.h" #include "osutils.h" +#include __ID("@(#) $Id: lvm.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/mounts.cc +++ lshw-B.02.12.01/src/core/mounts.cc @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include --- lshw-B.02.12.01/src/core/osutils.cc +++ lshw-B.02.12.01/src/core/osutils.cc @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include --- lshw-B.02.12.01/src/core/parisc.cc +++ lshw-B.02.12.01/src/core/parisc.cc @@ -17,6 +17,8 @@ #include #include #include +#include +#include #include #include --- lshw-B.02.12.01/src/core/partitions.cc +++ lshw-B.02.12.01/src/core/partitions.cc @@ -24,6 +24,8 @@ #include #include #include +#include +#include #include #include --- lshw-B.02.12.01/src/core/pci.cc +++ lshw-B.02.12.01/src/core/pci.cc @@ -6,6 +6,8 @@ #include #include #include +#include +#include #include __ID("@(#) $Id: pci.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/pcmcia.cc +++ lshw-B.02.12.01/src/core/pcmcia.cc @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include #include --- lshw-B.02.12.01/src/core/pcmcia-legacy.cc +++ lshw-B.02.12.01/src/core/pcmcia-legacy.cc @@ -7,6 +7,7 @@ #include #include #include +#include #include __ID("@(#) $Id: pcmcia-legacy.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/pnp.cc +++ lshw-B.02.12.01/src/core/pnp.cc @@ -9,6 +9,7 @@ #include "version.h" #include "pnp.h" +#include #include __ID("@(#) $Id: pnp.cc 1907 2007-10-13 22:23:16Z lyonel $"); --- lshw-B.02.12.01/src/core/print.cc +++ lshw-B.02.12.01/src/core/print.cc @@ -11,10 +11,12 @@ #include "options.h" #include "version.h" #include "osutils.h" +#include #include #include #include #include +#include #include #include #include --- lshw-B.02.12.01/src/core/scsi.cc +++ lshw-B.02.12.01/src/core/scsi.cc @@ -12,6 +12,8 @@ #include #include #include +#include +#include #include #include #ifndef MKDEV --- lshw-B.02.12.01/src/core/smp.cc +++ lshw-B.02.12.01/src/core/smp.cc @@ -9,6 +9,7 @@ #include #include #include +#include #include #include "osutils.h" --- lshw-B.02.12.01/src/core/spd.cc +++ lshw-B.02.12.01/src/core/spd.cc @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include --- lshw-B.02.12.01/src/core/sysfs.cc +++ lshw-B.02.12.01/src/core/sysfs.cc @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include --- lshw-B.02.12.01/src/core/usb.cc +++ lshw-B.02.12.01/src/core/usb.cc @@ -18,6 +18,8 @@ #include #include #include +#include +#include #include #include --- lshw-B.02.12.01/src/core/volumes.cc +++ lshw-B.02.12.01/src/core/volumes.cc @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include --- lshw-B.02.12.01/src/gui/engine.cc +++ lshw-B.02.12.01/src/gui/engine.cc @@ -9,6 +9,8 @@ #include #include #include +#include +#include #include static char *id = "@(#) $Id: engine.cc 1907 2007-10-13 22:23:16Z lyonel $"; --- lshw-B.02.12.01/src/lshw.cc +++ lshw-B.02.12.01/src/lshw.cc @@ -8,6 +8,8 @@ #include #include +#include +#include #include __ID("@(#) $Id: lshw.cc 1907 2007-10-13 22:23:16Z lyonel $");