diff options
author | William A. Kennington III <wak@google.com> | 2018-11-12 17:11:14 -0800 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2018-11-12 17:11:19 -0800 |
commit | 1dc2b79e3494cd27fabecbbc62cc3013c652ae88 (patch) | |
tree | ef1df917a536f0a01f10e5467194178dd9e1b936 | |
parent | dace680fa404d7c02a68db105fd7b958b4681442 (diff) | |
download | phosphor-gpio-monitor-1dc2b79e3494cd27fabecbbc62cc3013c652ae88.tar.gz phosphor-gpio-monitor-1dc2b79e3494cd27fabecbbc62cc3013c652ae88.zip |
gpio: Fix missing cassert
This file is relying on assert() being transitively provided by
sdbusplus. Fix the includes.
Change-Id: Ia081478eb55a90bf5af541a4b16124dcfb224a13
Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r-- | gpio-util/gpio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpio-util/gpio.cpp b/gpio-util/gpio.cpp index da5801e..c6b7704 100644 --- a/gpio-util/gpio.cpp +++ b/gpio-util/gpio.cpp @@ -18,6 +18,7 @@ #include <fcntl.h> #include <sys/ioctl.h> +#include <cassert> #include <phosphor-logging/log.hpp> namespace phosphor |