summaryrefslogtreecommitdiff
path: root/e2fsprogs/tune2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/tune2fs.c')
-rw-r--r--e2fsprogs/tune2fs.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index ccbbc78..0519c09 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -26,14 +26,6 @@
*/
#include <fcntl.h>
-#include <grp.h>
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#else
-extern char *optarg;
-extern int optind;
-#endif
-#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -50,6 +42,10 @@ extern int optind;
#include "util.h"
#include "blkid/blkid.h"
+#include "busybox.h"
+#include "grp_.h"
+#include "pwd_.h"
+
static char * device_name = NULL;
static char * new_label, *new_last_mounted, *new_UUID;
static char * io_options;