commit | 96e97db76cecdab36838e3987c3c53f19b4a34cb | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Thu Oct 31 13:44:38 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Oct 31 13:49:23 2019 -0700 |
tree | 50a223f92193d00e27093796f232ecf96cea71b8 | |
parent | ca44b2f376ce66e7067baec89c151920ebe9c5b8 [diff] [blame] |
src: add missing headers Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I6043ef792c2ce0a8e7584a73f83ca365ec61794d
diff --git a/src/PwmSensor.cpp b/src/PwmSensor.cpp index 86a76f2..3fdde65 100644 --- a/src/PwmSensor.cpp +++ b/src/PwmSensor.cpp
@@ -20,6 +20,8 @@ #include <fstream> #include <iostream> #include <sdbusplus/asio/object_server.hpp> +#include <stdexcept> +#include <string> static constexpr size_t pwmMax = 255; static constexpr double defaultPwm = 30.0;