aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-07-22 19:58:32 +0000
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-07-22 19:58:32 +0000
commit481fcb27b45816c4e7d2be8c0fe6a764b81296b3 (patch)
tree4fbccd4b880e676e7ee070a7f979ef69909641f6 /libbb
parent5086b0e6db3db4ad70f8daa14d24011d4ad600d9 (diff)
downloadbusybox-w32-481fcb27b45816c4e7d2be8c0fe6a764b81296b3.tar.gz
busybox-w32-481fcb27b45816c4e7d2be8c0fe6a764b81296b3.tar.bz2
busybox-w32-481fcb27b45816c4e7d2be8c0fe6a764b81296b3.zip
ifdef all of loop.c with CONFIG_FEATURE_MOUNT_LOOP. won't
compile due to CONFIG_FEATURE_MOUNT_LOOP_MAX otherwise. reported by Stephane Billiart. git-svn-id: svn://busybox.net/trunk/busybox@10901 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/loop.c b/libbb/loop.c
index 19bbf3674..a4e1ffba6 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -19,6 +19,7 @@
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */ 20 */
21 21
22#ifdef CONFIG_FEATURE_MOUNT_LOOP
22#include <features.h> 23#include <features.h>
23#if defined (__GLIBC__) && !defined(__UCLIBC__) 24#if defined (__GLIBC__) && !defined(__UCLIBC__)
24#include <linux/posix_types.h> 25#include <linux/posix_types.h>
@@ -148,6 +149,7 @@ extern char *find_unused_loop_device(void)
148 } 149 }
149 return NULL; 150 return NULL;
150} 151}
152#endif
151 153
152 154
153/* END CODE */ 155/* END CODE */