[PATCH] Add math.h because of usage of rint()

Anton Lundin glance at acc.umu.se
Tue May 13 15:32:48 PDT 2014


Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 units.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/units.h b/units.h
index 0e168a2..0a9e44b 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
-- 
1.9.1



More information about the subsurface mailing list