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(-)
--- a/src/internal/sys_interface/devicetreecollector.cpp
+++ b/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