commit | 29c4d43538202737b4ac8ba3e69c916781d58ed1 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Feb 01 10:55:39 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Feb 01 10:55:41 2023 -0600 |
tree | dbdca3561c7a7667214c16b83101518ce7faa40a | |
parent | abbdd6aa116622ac9139264c056a7eab03968c92 [diff] |
event: add unistd header The file uses `write` which is defined in `unistd.h`. Add it to give more coverage to various compiler and stdlib versions. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icbef43f3b6b89f0ff3cdfb84ad5fa1c695562dbb
diff --git a/src/event.cpp b/src/event.cpp index badd43a..209bac6 100644 --- a/src/event.cpp +++ b/src/event.cpp
@@ -1,4 +1,5 @@ #include <sys/eventfd.h> +#include <unistd.h> #include <sdbusplus/event.hpp> #include <sdbusplus/exception.hpp>