str2u() is only used when FEATURE_SORT_BIG is enabled
diff --git a/coreutils/sort.c b/coreutils/sort.c
index ab59355..c7abc33 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -265,6 +265,7 @@
 	return retval;
 }
 
+#if ENABLE_FEATURE_SORT_BIG
 static unsigned str2u(char **str)
 {
 	unsigned long lu;
@@ -275,6 +276,7 @@
 		bb_error_msg_and_die("bad field specification");
 	return lu;
 }
+#endif
 
 int sort_main(int argc, char **argv)
 {