summaryrefslogtreecommitdiffstats
path: root/include/spl/sys/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spl/sys/strings.h')
-rw-r--r--include/spl/sys/strings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/spl/sys/strings.h b/include/spl/sys/strings.h
index 4fb803206..8b810c9af 100644
--- a/include/spl/sys/strings.h
+++ b/include/spl/sys/strings.h
@@ -28,4 +28,8 @@
#define bcopy(src, dest, size) memmove(dest, src, size)
#define bcmp(src, dest, size) memcmp((src), (dest), (size_t)(size))
+#ifndef HAVE_KSTRTOUL
+#define kstrtoul strict_strtoul
+#endif
+
#endif /* _SPL_SYS_STRINGS_H */