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.
This commit is contained in:
parent
37dd6247dd
commit
1429017968
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user