summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-11-12 17:11:14 -0800
committerWilliam A. Kennington III <wak@google.com>2018-11-12 17:11:19 -0800
commit1dc2b79e3494cd27fabecbbc62cc3013c652ae88 (patch)
treeef1df917a536f0a01f10e5467194178dd9e1b936
parentdace680fa404d7c02a68db105fd7b958b4681442 (diff)
downloadphosphor-gpio-monitor-1dc2b79e3494cd27fabecbbc62cc3013c652ae88.zip
phosphor-gpio-monitor-1dc2b79e3494cd27fabecbbc62cc3013c652ae88.tar.gz
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.cpp1
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
OpenPOWER on IntegriCloud