summaryrefslogtreecommitdiff
path: root/coreutils/install.c
diff options
context:
space:
mode:
authorRob Landley2006-08-09 20:56:23 +0000
committerRob Landley2006-08-09 20:56:23 +0000
commit519d7df930d2ac14b7a833c0255a4a5abd5a329b (patch)
treead8d4242826335c7e418648d60d82a55095f11e1 /coreutils/install.c
parente55a73c7a89d9437bda82d317ee980989a5949db (diff)
downloadbusybox-519d7df930d2ac14b7a833c0255a4a5abd5a329b.zip
busybox-519d7df930d2ac14b7a833c0255a4a5abd5a329b.tar.gz
Another whack at scripts/individual. Now builds 212 applets.
Diffstat (limited to 'coreutils/install.c')
-rw-r--r--coreutils/install.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/coreutils/install.c b/coreutils/install.c
index f6d84c1..d3d6a58 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -8,16 +8,10 @@
* owner/group, will probably modify bb_make_directory(...)
*/
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <getopt.h> /* struct option */
-
#include "busybox.h"
#include "libcoreutils/coreutils.h"
+#include <libgen.h>
+#include <getopt.h> /* struct option */
#define INSTALL_OPT_CMD 1
#define INSTALL_OPT_DIRECTORY 2