Module: check_mk
Branch: master
Commit: 0b430e5d70f4b587b659a09462f223db151fae71
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0b430e5d70f4b5…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Nov 9 08:22:10 2015 +0100
Some more iwyu tweak.
Strangely enough, the diagnostics seem to depend on the iwyu version. :-/
Nevertheless, this looks sane.
---
livestatus/src/module.c | 1 +
livestatus/src/pnp4nagios.cc | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/livestatus/src/module.c b/livestatus/src/module.c
index 3c7cbab..55489bc 100644
--- a/livestatus/src/module.c
+++ b/livestatus/src/module.c
@@ -26,6 +26,7 @@
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/livestatus/src/pnp4nagios.cc b/livestatus/src/pnp4nagios.cc
index 697612d..5c1ed8a 100644
--- a/livestatus/src/pnp4nagios.cc
+++ b/livestatus/src/pnp4nagios.cc
@@ -23,7 +23,7 @@
// Boston, MA 02110-1301 USA.
#include "pnp4nagios.h"
-#include <string.h>
+#include <stddef.h>
#include <sys/stat.h>
#include <unistd.h>