[BusyBox-cvs] svn commit: trunk/busybox/libbb

pgf at busybox.net pgf at busybox.net
Wed Jul 27 14:20:53 UTC 2005


Author: pgf
Date: 2005-07-27 08:20:52 -0600 (Wed, 27 Jul 2005)
New Revision: 10933

Log:
move the ifdef to after libbb.h include, so it can do some good.


Modified:
   trunk/busybox/libbb/loop.c


Changeset:
Modified: trunk/busybox/libbb/loop.c
===================================================================
--- trunk/busybox/libbb/loop.c	2005-07-27 13:03:13 UTC (rev 10932)
+++ trunk/busybox/libbb/loop.c	2005-07-27 14:20:52 UTC (rev 10933)
@@ -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... */




More information about the busybox-cvs mailing list