pdbg v3.3 related changes

Separate sbe api into new header libpdbg_sbe.h related
changes.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I9ec660067ddae0bcc61fde016aa764976263e5a4
diff --git a/nmi_interface.cpp b/nmi_interface.cpp
index 3c38485..f81cecf 100644
--- a/nmi_interface.cpp
+++ b/nmi_interface.cpp
@@ -16,7 +16,11 @@
 
 #include "nmi_interface.hpp"
 
+extern "C"
+{
 #include <libpdbg.h>
+#include <libpdbg_sbe.h>
+}
 
 #include <phosphor-logging/elog-errors.hpp>
 #include <phosphor-logging/elog.hpp>
diff --git a/procedures/common/enter_mpreboot.cpp b/procedures/common/enter_mpreboot.cpp
index 99e559f..ca41567 100644
--- a/procedures/common/enter_mpreboot.cpp
+++ b/procedures/common/enter_mpreboot.cpp
@@ -16,7 +16,12 @@
 
 #include "registration.hpp"
 
+extern "C"
+{
 #include <libpdbg.h>
+#include <libpdbg_sbe.h>
+}
+
 #include <sys/wait.h>
 #include <unistd.h>
 
diff --git a/procedures/p9/start_host_mpreboot.cpp b/procedures/p9/start_host_mpreboot.cpp
index 8c02810..80aebc3 100644
--- a/procedures/p9/start_host_mpreboot.cpp
+++ b/procedures/p9/start_host_mpreboot.cpp
@@ -19,7 +19,11 @@
 #include "registration.hpp"
 #include "targeting.hpp"
 
+extern "C"
+{
 #include <libpdbg.h>
+#include <libpdbg_sbe.h>
+}
 
 #include <phosphor-logging/log.hpp>
 namespace openpower