Mesa (master): util: (trivial) include c99_math.h in rounding.h
Roland Scheidegger
sroland at kemper.freedesktop.org
Wed Aug 19 02:19:06 UTC 2015
Module: Mesa
Branch: master
Commit: 3f797ef0c038afecb8702cc90a452903694975a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f797ef0c038afecb8702cc90a452903694975a2
Author: Roland Scheidegger <sroland at vmware.com>
Date: Wed Aug 19 04:17:36 2015 +0200
util: (trivial) include c99_math.h in rounding.h
Needed for rint/rintf.
---
src/util/rounding.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/rounding.h b/src/util/rounding.h
index 7b5608b..afb38fb 100644
--- a/src/util/rounding.h
+++ b/src/util/rounding.h
@@ -24,9 +24,8 @@
#ifndef _ROUNDING_H
#define _ROUNDING_H
-#include "c99_compat.h" // inline
+#include "c99_math.h"
-#include <math.h>
#include <limits.h>
#include <stdint.h>
More information about the mesa-commit
mailing list