summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 537f35e)
raw | patch | inline | side by side (parent: 537f35e)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 24 Apr 2007 22:17:06 +0000 (00:17 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 24 Apr 2007 22:17:06 +0000 (00:17 +0200) |
debian/examples/myplugin.c | patch | blob | history |
index 1979e2dbe6046527bada8797174376a5a27e0834..2b3212a01f64f75f8237abe86321416f295655cb 100644 (file)
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
+
+#ifndef __USE_ISOC99 /* required for NAN */
+# define DISABLE_ISOC99 1
+# define __USE_ISOC99 1
+#endif /* !defined(__USE_ISOC99) */
+#include <math.h>
+#if DISABLE_ISOC99
+# undef DISABLE_ISOC99
+# undef __USE_ISOC99
+#endif /* DISABLE_ISOC99 */
+
#include <collectd/collectd.h>
#include <collectd/common.h>
#include <collectd/plugin.h>