projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dd624
)
ifdef all of loop.c with CONFIG_FEATURE_MOUNT_LOOP. won't
author
Paul Fox
<pgf@brightstareng.com>
Fri, 22 Jul 2005 19:58:32 +0000
(19:58 -0000)
committer
Paul Fox
<pgf@brightstareng.com>
Fri, 22 Jul 2005 19:58:32 +0000
(19:58 -0000)
compile due to CONFIG_FEATURE_MOUNT_LOOP_MAX otherwise. reported
by Stephane Billiart.
libbb/loop.c
patch
|
blob
|
history
diff --git
a/libbb/loop.c
b/libbb/loop.c
index 19bbf3674a882288c44155a4edf58202db9bc51e..a4e1ffba64cff423b25167629e91eaff8b7e8aa1 100644
(file)
--- a/
libbb/loop.c
+++ b/
libbb/loop.c
@@
-19,6
+19,7
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef CONFIG_FEATURE_MOUNT_LOOP
#include <features.h>
#if defined (__GLIBC__) && !defined(__UCLIBC__)
#include <linux/posix_types.h>
@@
-148,6
+149,7
@@
extern char *find_unused_loop_device(void)
}
return NULL;
}
+#endif
/* END CODE */