fix recognitions of -SIGname signals
[oweals/busybox.git] / libbb / simplify_path.c
index 171798e6048cccf517dfc001171a5e30a063b7be..b714c66b6c586e96636c9b352d6df7e0efffd150 100644 (file)
@@ -7,7 +7,6 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include <stdlib.h>
 #include "libbb.h"
 
 char *bb_simplify_path(const char *path)
@@ -15,7 +14,7 @@ char *bb_simplify_path(const char *path)
        char *s, *start, *p;
 
        if (path[0] == '/')
-               start = bb_xstrdup(path);
+               start = xstrdup(path);
        else {
                s = xgetcwd(NULL);
                start = concat_path_file(s, path);