move the ifdef to after libbb.h include, so it can do some good.
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 27 Jul 2005 14:20:52 +0000 (14:20 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 27 Jul 2005 14:20:52 +0000 (14:20 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@10933 69ca8d6d-28ef-0310-b511-8ec308f3f277

libbb/loop.c

index a4e1ffb..c4c3da4 100644 (file)
@@ -19,7 +19,6 @@
  * 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>
@@ -31,6 +30,7 @@
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include "libbb.h"
+#ifdef CONFIG_FEATURE_MOUNT_LOOP
 
 /* Grumble...  The 2.6.x kernel breaks asm/posix_types.h
  * so we get to try and cope as best we can... */