fix GCC 13 issues
GCC 13 has moved `uint*_t` family from being included in a default
include tree. Explicitly add `#include <cstdint>` to give these types.
Also remove one useless `std::move`.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3e69ff4d3aa4a52856fc57b8d8babd32693324ee
diff --git a/chassishandler.cpp b/chassishandler.cpp
index 0028592..de00a26 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -1441,7 +1441,7 @@
void enclosureIdentifyLed(bool flag)
{
using namespace chassis::internal;
- std::string connection = std::move(getEnclosureIdentifyConnection());
+ std::string connection = getEnclosureIdentifyConnection();
auto msg = std::string("enclosureIdentifyLed(") +
boost::lexical_cast<std::string>(flag) + ")";
log<level::DEBUG>(msg.c_str());
diff --git a/include/dbus-sdr/sensorutils.hpp b/include/dbus-sdr/sensorutils.hpp
index c68a449..51fbeaf 100644
--- a/include/dbus-sdr/sensorutils.hpp
+++ b/include/dbus-sdr/sensorutils.hpp
@@ -13,10 +13,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
*/
-
#pragma once
+
#include <algorithm>
#include <cmath>
+#include <cstdint>
#include <iostream>
namespace ipmi
diff --git a/include/ipmid/sessionhelper.hpp b/include/ipmid/sessionhelper.hpp
index 3a72d19..5c09bfc 100644
--- a/include/ipmid/sessionhelper.hpp
+++ b/include/ipmid/sessionhelper.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <cstdint>
#include <sstream>
#include <string>
diff --git a/ipmi_fru_info_area.hpp b/ipmi_fru_info_area.hpp
index 462a4ac..ea70401 100644
--- a/ipmi_fru_info_area.hpp
+++ b/ipmi_fru_info_area.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <cstdint>
#include <map>
#include <string>
#include <vector>