aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/utility.c b/utility.c
index 8c3c5e5fa..719cd98ce 100644
--- a/utility.c
+++ b/utility.c
@@ -53,11 +53,6 @@
53#include <sys/ioctl.h> 53#include <sys/ioctl.h>
54#include <sys/utsname.h> /* for uname(2) */ 54#include <sys/utsname.h> /* for uname(2) */
55 55
56#if defined BB_FEATURE_MOUNT_LOOP
57#include <fcntl.h>
58#include <linux/loop.h> /* Pull in loop device support */
59#endif
60
61/* Busybox mount uses either /proc/filesystems or /dev/mtab to get the 56/* Busybox mount uses either /proc/filesystems or /dev/mtab to get the
62 * list of available filesystems used for the -t auto option */ 57 * list of available filesystems used for the -t auto option */
63#if defined BB_FEATURE_USE_PROCFS && defined BB_FEATURE_USE_DEVPS_PATCH 58#if defined BB_FEATURE_USE_PROCFS && defined BB_FEATURE_USE_DEVPS_PATCH
@@ -1459,7 +1454,11 @@ extern int vdprintf(int d, const char *format, va_list ap)
1459} 1454}
1460#endif /* BB_SYSLOGD */ 1455#endif /* BB_SYSLOGD */
1461 1456
1457
1462#if defined BB_FEATURE_MOUNT_LOOP 1458#if defined BB_FEATURE_MOUNT_LOOP
1459#include <fcntl.h>
1460#include "loop.h" /* Pull in loop device support */
1461
1463extern int del_loop(const char *device) 1462extern int del_loop(const char *device)
1464{ 1463{
1465 int fd; 1464 int fd;