Fix up some silly macros and use xmalloc and friends exclusively.
[oweals/busybox.git] / sort.c
diff --git a/sort.c b/sort.c
index efff6b65387c922f4df8d0339489edcb4e6462b4..ed687221846f29b59b6f8c5b62e9b041b8f3019a 100644 (file)
--- a/sort.c
+++ b/sort.c
@@ -21,6 +21,8 @@
  *
  */
 
+#include <getopt.h>
+#include <stdlib.h>
 #include "busybox.h"
 
 int compare_ascii(const void *x, const void *y)
@@ -54,7 +56,7 @@ int sort_main(int argc, char **argv)
                                break;
 #endif
                        default:
-                               usage(sort_usage);
+                               show_usage();
                }
        }