summaryrefslogtreecommitdiffstats
path: root/units.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-05-14 00:32:48 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-20 11:51:46 +0900
commit176d49c59173b2fb01e3d596f56365b904bfa99d (patch)
tree82e803e60a3f16b86d2b8092fd102f28a2c3ece0 /units.h
parent0f0ddf86fef95db08ea84c987352d26aea08b0fc (diff)
downloadsubsurface-176d49c59173b2fb01e3d596f56365b904bfa99d.tar.gz
Add math.h because of usage of rint()
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'units.h')
-rw-r--r--units.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/units.h b/units.h
index 0e168a21e..0a9e44b79 100644
--- a/units.h
+++ b/units.h
@@ -1,6 +1,8 @@
#ifndef UNITS_H
#define UNITS_H
+#include <math.h>
+
#ifdef __cplusplus
extern "C" {
#endif