summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/utils.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/utils.c b/tools/utils.c
index c544f20..602a144 100644
--- a/tools/utils.c
+++ b/tools/utils.c
@@ -1,8 +1,10 @@
#include <string>
#include <sstream>
#include <iomanip>
-//#include <stdlib.h> /* for abs() */
-#include <cmath>
+#include <stdlib.h> /* for abs() */
+///// <cmath> would not be an improvement
+///// due to lack of interger abs()
+///// and ambiguous (and inefficient) promotion
#include <ctype.h> /* for isalnum() */
// strip off the directory part of a path, leaving just