298 lines
9.4 KiB
Diff
298 lines
9.4 KiB
Diff
--- libsmbios-0.13.10/libraries/smbios/SmbiosStrategy.cpp 2007-08-21 08:16:20.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smbios/SmbiosStrategy.cpp 2007-10-12 14:21:03.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <sstream>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/IMemory.h"
|
|
#include "SmbiosImpl.h"
|
|
--- libsmbios-0.13.10/libraries/smbios/SmbiosTable.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smbios/SmbiosTable.cpp 2007-10-12 14:20:35.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <sstream>
|
|
+#include <string.h>
|
|
|
|
#include "SmbiosImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/memory/Memory_Linux.cpp 2007-08-21 08:16:20.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/memory/Memory_Linux.cpp 2007-10-12 14:22:52.000000000 +0200
|
|
@@ -23,6 +23,7 @@
|
|
#include <errno.h>
|
|
#include <sys/mman.h> /* mmap */
|
|
#include <unistd.h> /* getpagesize */
|
|
+#include <string.h> /* memcpy etc. */
|
|
|
|
#include "MemoryImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/smbios/SmbiosWorkaround.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smbios/SmbiosWorkaround.cpp 2007-10-12 14:24:48.000000000 +0200
|
|
@@ -26,6 +26,8 @@
|
|
// message.h should be included last.
|
|
#include "smbios/message.h"
|
|
|
|
+#include <string.h>
|
|
+
|
|
using namespace std;
|
|
|
|
// convenience function.
|
|
--- libsmbios-0.13.10/libraries/smbios/SmbiosStrategy_Linux.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smbios/SmbiosStrategy_Linux.cpp 2007-10-12 14:25:44.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <sstream>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/IMemory.h"
|
|
#include "SmbiosImpl.h"
|
|
--- libsmbios-0.13.10/libraries/smbios/SmbiosItem.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smbios/SmbiosItem.cpp 2007-10-12 14:26:27.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <iomanip>
|
|
+#include <string.h>
|
|
|
|
#include "SmbiosImpl.h"
|
|
// message.h should be included last.
|
|
--- libsmbios-0.13.10/libraries/smi/Smi.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smi/Smi.cpp 2007-10-12 14:27:07.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
//#include <iostream>
|
|
+#include <string.h>
|
|
|
|
#include "SmiImpl.h"
|
|
#include "smbios/ISmbios.h"
|
|
--- libsmbios-0.13.10/libraries/memory/Memory.cpp 2007-08-21 08:16:20.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/memory/Memory.cpp 2007-10-12 14:36:43.000000000 +0200
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
|
|
#include "MemoryImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/smi/Smi_Linux.cpp 2007-08-23 04:44:40.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/smi/Smi_Linux.cpp 2007-10-12 15:16:02.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <sys/file.h>
|
|
+#include <string.h>
|
|
|
|
#include "SmiImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/systeminfo/IdByte.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/systeminfo/IdByte.cpp 2007-10-12 15:55:06.000000000 +0200
|
|
@@ -28,6 +28,8 @@
|
|
#include "SystemDetect.h"
|
|
#include "DellMagic.h"
|
|
|
|
+#include <string.h>
|
|
+
|
|
// should always be included last.
|
|
#include "smbios/message.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/systeminfo/System.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/systeminfo/System.cpp 2007-10-12 16:15:15.000000000 +0200
|
|
@@ -31,6 +31,8 @@
|
|
|
|
#include "smbios/version.h"
|
|
|
|
+#include <string.h>
|
|
+
|
|
// this always should be included last
|
|
#include "smbios/message.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/systeminfo/SystemDetect.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/systeminfo/SystemDetect.cpp 2007-10-12 16:16:32.000000000 +0200
|
|
@@ -30,6 +30,8 @@
|
|
// all our magic numbers
|
|
#include "DellMagic.h"
|
|
|
|
+#include <string.h>
|
|
+
|
|
// include this last.
|
|
#include "smbios/message.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/token/TokenDA.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/token/TokenDA.cpp 2007-10-12 16:27:56.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <iomanip>
|
|
+#include <string.h>
|
|
|
|
#include "TokenImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/token/TokenD6.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/token/TokenD6.cpp 2007-10-12 16:28:41.000000000 +0200
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <sstream>
|
|
#include <iomanip>
|
|
+#include <string.h>
|
|
|
|
#include "TokenImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/token/TokenD5.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/token/TokenD5.cpp 2007-10-12 16:29:31.000000000 +0200
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <sstream>
|
|
#include <iomanip>
|
|
+#include <string.h>
|
|
|
|
#include "TokenImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/token/TokenD4.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/token/TokenD4.cpp 2007-10-12 16:30:10.000000000 +0200
|
|
@@ -21,6 +21,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <iomanip>
|
|
+#include <string.h>
|
|
|
|
#include "TokenImpl.h"
|
|
|
|
--- libsmbios-0.13.10/libraries/xml_libxml2/SmbiosXml.cpp 2007-05-24 17:46:25.000000000 +0200
|
|
+++ libsmbios-0.13.10/libraries/xml_libxml2/SmbiosXml.cpp 2007-10-12 16:44:59.000000000 +0200
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <sstream>
|
|
#include <iomanip>
|
|
+#include <string.h>
|
|
|
|
#include "SmbiosXmlImpl.h"
|
|
#include "StdSmbiosXml.h"
|
|
--- libsmbios-0.13.10/bin-supported/assetTag.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/assetTag.cpp 2007-10-12 16:46:11.000000000 +0200
|
|
@@ -23,6 +23,7 @@
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/IMemory.h" // only needed if you want to use fake input (memdump.dat)
|
|
#include "smbios/ICmosRW.h" // only needed if you want to use fake input (cmos.dat)
|
|
--- libsmbios-0.13.10/bin-supported/propertyTag.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/propertyTag.cpp 2007-10-12 17:51:17.000000000 +0200
|
|
@@ -22,7 +22,9 @@
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
+
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/ISmi.h" // only needed if you want to use fake input (memdump.dat)
|
|
#include "smbios/SystemInfo.h" // this is the main header to include to use the C interface
|
|
--- libsmbios-0.13.10/bin-supported/serviceTag.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/serviceTag.cpp 2007-10-12 17:52:30.000000000 +0200
|
|
@@ -22,7 +22,9 @@
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
+
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/IMemory.h" // only needed if you want to use fake input (memdump.dat)
|
|
#include "smbios/ICmosRW.h" // only needed if you want to use fake input (cmos.dat)
|
|
--- libsmbios-0.13.10/bin-supported/verifySmiPassword.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/verifySmiPassword.cpp 2007-10-12 19:22:43.000000000 +0200
|
|
@@ -20,6 +20,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <iostream>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/ISmi.h"
|
|
#include "smbios/SystemInfo.h"
|
|
--- libsmbios-0.13.10/bin-supported/dellLcdBrightness.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/dellLcdBrightness.cpp 2007-10-12 20:20:26.000000000 +0200
|
|
@@ -22,7 +22,9 @@
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
+
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/ISmi.h"
|
|
#include "smbios/IToken.h"
|
|
--- libsmbios-0.13.10/bin-supported/tokenCtl.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/tokenCtl.cpp 2007-10-12 20:21:33.000000000 +0200
|
|
@@ -35,7 +35,9 @@
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
+
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/IToken.h"
|
|
#include "smbios/IMemory.h"
|
|
--- libsmbios-0.13.10/bin-supported/dellBiosUpdate.cpp 2007-07-21 01:36:29.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/dellBiosUpdate.cpp 2007-10-12 20:22:32.000000000 +0200
|
|
@@ -20,6 +20,7 @@
|
|
#include "smbios/compat.h"
|
|
|
|
#include <iostream>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/DellRbu.h"
|
|
#include "smbios/SystemInfo.h"
|
|
--- libsmbios-0.13.10/bin-supported/dellWirelessCtl.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-supported/dellWirelessCtl.cpp 2007-10-12 20:45:55.000000000 +0200
|
|
@@ -22,7 +22,9 @@
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
+
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/ISmi.h"
|
|
#include "smbios/IToken.h"
|
|
--- libsmbios-0.13.10/bin-unsupported/ascii2enUS_scancode.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-unsupported/ascii2enUS_scancode.cpp 2007-10-12 22:12:51.000000000 +0200
|
|
@@ -21,6 +21,8 @@
|
|
|
|
#include <iostream>
|
|
|
|
+#include <string.h>
|
|
+
|
|
#include "smbios/ISmi.h"
|
|
#include "smbios/version.h"
|
|
#include "getopts.h"
|
|
--- libsmbios-0.13.10/bin-unsupported/dellLEDCtl.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-unsupported/dellLEDCtl.cpp 2007-10-12 22:14:47.000000000 +0200
|
|
@@ -30,6 +30,7 @@
|
|
#include <sys/time.h>
|
|
#endif
|
|
#include <time.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/ISmi.h"
|
|
#include "smbios/IToken.h"
|
|
--- libsmbios-0.13.10/bin-unsupported/smitest.cpp 2007-05-24 17:46:23.000000000 +0200
|
|
+++ libsmbios-0.13.10/bin-unsupported/smitest.cpp 2007-10-12 22:55:38.000000000 +0200
|
|
@@ -22,7 +22,9 @@
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
+
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
|
|
#include "smbios/ISmi.h" // only needed if you want to use fake input (memdump.dat)
|
|
#include "getopts.h"
|