summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--THANKS.in1
-rw-r--r--plugins/common.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/THANKS.in b/THANKS.in
index fa61ddb..9fee025 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -173,3 +173,4 @@ Hans Engelen
173Rick Frey 173Rick Frey
174Serhan Kiymaz 174Serhan Kiymaz
175Gerhard Lausser 175Gerhard Lausser
176Jon Vandegrift
diff --git a/plugins/common.h b/plugins/common.h
index b4699ce..7438e40 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -191,6 +191,11 @@ enum {
191}; 191};
192#endif 192#endif
193 193
194/* Solaris does not have floorf, but floor works. Should probably be in configure */
195#if defined(__sun) || defined(__sun__)
196static inline float floorf (float x) { return floor(x); }
197#endif
198
194enum { 199enum {
195 STATE_OK, 200 STATE_OK,
196 STATE_WARNING, 201 STATE_WARNING,