Module: check_mk
Branch: master
Commit: 573e1bbbd696e53bdcc0e3ce1d97061c1393250a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=573e1bbbd696e5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 5 09:27:01 2014 +0200
Livestatus: fix two compile issues on SLES11
---
livestatus/src/HostServiceState.cc | 1 +
livestatus/src/Logfile.cc | 1 +
2 files changed, 2 insertions(+)
diff --git a/livestatus/src/HostServiceState.cc b/livestatus/src/HostServiceState.cc
index eff4561..74e2d67 100644
--- a/livestatus/src/HostServiceState.cc
+++ b/livestatus/src/HostServiceState.cc
@@ -22,6 +22,7 @@
// to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
// Boston, MA 02110-1301 USA.
+#include <stdlib.h>
#include "HostServiceState.h"
HostServiceState::~HostServiceState()
diff --git a/livestatus/src/Logfile.cc b/livestatus/src/Logfile.cc
index 8a56e77..d3d42bb 100644
--- a/livestatus/src/Logfile.cc
+++ b/livestatus/src/Logfile.cc
@@ -22,6 +22,7 @@
// to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
// Boston, MA 02110-1301 USA.
+#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>