Enable OCC error monitoring

Fixes openbmc/openbmc#2165

Change-Id: I93f317a32c910f279003fa0fce6ae2d597f90312
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/occ_errors.hpp b/occ_errors.hpp
index 1e66ffc..e3820d1 100644
--- a/occ_errors.hpp
+++ b/occ_errors.hpp
@@ -70,6 +70,9 @@
         /** @brief File descriptor to watch for errors */
         int fd = -1;
 
+        /** @brief Current state of error watching */
+        bool watching = false;
+
         /** @brief attaches FD to events and sets up callback handler */
         void registerCallBack();