diff options
| author | William A. Kennington III <wak@google.com> | 2018-06-22 18:39:42 -0700 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-07-09 18:20:42 +0000 |
| commit | a0f52a3fefc3fdea82d9f3fe6936ab52ddd4eedb (patch) | |
| tree | 0bce1c43df4c6c855ecff7be8db2c51b878b1db2 | |
| parent | c20acf63d1ec457b11d40915e89a5decc5d4532d (diff) | |
| download | sdbusplus-a0f52a3fefc3fdea82d9f3fe6936ab52ddd4eedb.tar.gz sdbusplus-a0f52a3fefc3fdea82d9f3fe6936ab52ddd4eedb.zip | |
sdbus_mock: Fix missing bus include
The SdBusMock header uses the bus object but doesn't include the header
with it. Fix this so we can compile in files that don't include the bus.
Tested:
Files not previously including the bus can now build against this
header.
Change-Id: I2cb7f2b9758d82570e95bb3187f5aef639ac96bf
Signed-off-by: William A. Kennington III <wak@google.com>
| -rw-r--r-- | sdbusplus/test/sdbus_mock.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdbusplus/test/sdbus_mock.hpp b/sdbusplus/test/sdbus_mock.hpp index 4d3909c..be8d0ac 100644 --- a/sdbusplus/test/sdbus_mock.hpp +++ b/sdbusplus/test/sdbus_mock.hpp @@ -2,6 +2,7 @@ #include "gmock/gmock.h" +#include <sdbusplus/bus.hpp> #include <sdbusplus/sdbus.hpp> namespace sdbusplus |

