File lsvpd.cxx-includes.patch of Package lsvpd

src/internal/sys_interface/devicetreecollector.cpp:347: error: 'free' was not declared in this scope

---
 src/internal/sys_interface/devicetreecollector.cpp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Index: lsvpd-1.6.5/src/internal/sys_interface/devicetreecollector.cpp
===================================================================
--- lsvpd-1.6.5.orig/src/internal/sys_interface/devicetreecollector.cpp
+++ lsvpd-1.6.5/src/internal/sys_interface/devicetreecollector.cpp
@@ -22,7 +22,7 @@
  ***************************************************************************/
 
 #ifdef TRACE_ON
-	#include <libvpd-1/debug.hpp>
+	#include <libvpd-2/debug.hpp>
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -43,8 +43,9 @@
 #include <sys/types.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <string.h>
-#include <errno.h>
+#include <cstdlib>
+#include <cstring>
+#include <cerrno>
 #include <sstream>
 
 #ifdef HAVE_LIBRTAS
Index: lsvpd-1.6.5/src/internal/sys_interface/fswalk.cpp
===================================================================
--- lsvpd-1.6.5.orig/src/internal/sys_interface/fswalk.cpp
+++ lsvpd-1.6.5/src/internal/sys_interface/fswalk.cpp
@@ -35,6 +35,7 @@
 #include <sstream>
 #include <stdlib.h>
 #include <string.h>
+#include <stdio.h>
 #include <sys/stat.h>
 #include <errno.h>
 #include <dirent.h>
Index: lsvpd-1.6.5/src/common/lsvpd_error_handler.cpp
===================================================================
--- lsvpd-1.6.5.orig/src/common/lsvpd_error_handler.cpp
+++ lsvpd-1.6.5/src/common/lsvpd_error_handler.cpp
@@ -23,6 +23,7 @@
 
 #include <libvpd-2/lsvpd_error_codes.hpp>
 #include <string>
+#include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 #include <errno.h>
Index: lsvpd-1.6.5/src/internal/sys_interface/sysfs_SCSI_Fill.cpp
===================================================================
--- lsvpd-1.6.5.orig/src/internal/sys_interface/sysfs_SCSI_Fill.cpp
+++ lsvpd-1.6.5/src/internal/sys_interface/sysfs_SCSI_Fill.cpp
@@ -57,6 +57,7 @@
 
 extern "C"
 {
+#include <stdint.h>
 #include <scsi/sg_cmds.h>
 }