- move #include busybox.h to the very top so we pull in the config

and eventual platform specific includes in early.
This commit is contained in:
Bernhard Reutner-Fischer
2006-06-02 20:56:16 +00:00
parent ecae66ac16
commit e15d7573a1
34 changed files with 77 additions and 193 deletions

View File

@@ -7,11 +7,11 @@
* Licensed under GPL v2, see file LICENSE in this tarball for details.
*/
#include "busybox.h"
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <getopt.h>
#include "busybox.h"
#define READLINK_FLAG_f (1 << 0)
@@ -33,7 +33,8 @@ int readlink_main(int argc, char **argv)
return EXIT_FAILURE;
puts(buf);
if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1) free(buf);
if (ENABLE_FEATURE_CLEAN_UP && buf != bb_common_bufsiz1)
free(buf);
return EXIT_SUCCESS;
}