aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/util.h b/include/util.h
index a33b7f21f..fe834e1a2 100644
--- a/include/util.h
+++ b/include/util.h
@@ -121,7 +121,9 @@ char *stpcpy(char *a,const char *b);
#ifndef HAVE_STRLWR
char *strlwr(char *a);
#endif
-
+#ifndef HAVE_STRTOUL
+ #define strtoul(a,b,c) ((unsigned long)strtol((a),(b),(c)))
+#endif
/******** some macros ************/
#ifndef STR