summaryrefslogtreecommitdiffstats
path: root/src/bltGrText.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGrText.C')
-rw-r--r--src/bltGrText.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bltGrText.C b/src/bltGrText.C
index ecc5ea6..9012c79 100644
--- a/src/bltGrText.C
+++ b/src/bltGrText.C
@@ -27,7 +27,7 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "bltMath.h"
+#include <math.h>
extern "C" {
#include <tk.h>
@@ -39,6 +39,7 @@ extern "C" {
#include "bltText.h"
+#define ROUND(x) ((int)((x) + (((x)<0.0) ? -0.5 : 0.5)))
#define ROTATE_0 0
#define ROTATE_90 1
#define ROTATE_180 2