commit 357eb7c9890e0debe09ea28620f52572810b38fb
Author: Laszlo Papp <[email protected]>
Date:   Wed Jul 2 19:55:35 2014 +0100

    Fix the broken build for fatattr.c

diff --git a/util-linux/fatattr.c b/util-linux/fatattr.c
index 0f8d632..3c2595c 100644
--- a/util-linux/fatattr.c
+++ b/util-linux/fatattr.c
@@ -34,6 +34,7 @@
 #include "libbb.h"
 /* linux/msdos_fs.h says: */
 #ifndef FAT_IOCTL_GET_ATTRIBUTES
+#include <linux/types.h>
 # define FAT_IOCTL_GET_ATTRIBUTES        _IOR('r', 0x10, __u32)
 # define FAT_IOCTL_SET_ATTRIBUTES        _IOW('r', 0x11, __u32)
 #endif



On Wed, Jul 2, 2014 at 7:53 PM, Laszlo Papp <[email protected]> wrote:

> Hi,
>
> the commit below broke the build. Could you please provide a fix ASAP?
>
> ...
> util-linux/fatattr.c:37:58: error: ‘__u32’ undeclared (first use in this
> function)
> ...
>
> Cheers, L.
>
> commit d3633b7e9c5dae78343a8552f54b0efa61074380
> Author: Pascal Bellard <[email protected]>
> Date:   Mon Jun 30 13:06:39 2014 +0200
>
>     fatattr: new applet
>
>     function                                             old     new
> delta
>     fatattr_main                                           -     281
>  +281
>     packed_usage                                       29821   29871
> +50
>     bit_to_char                                            -      10
> +10
>     applet_names                                        2472    2480
>  +8
>     applet_main                                         1436    1440
>  +4
>     applet_nameofs                                       718     720
>  +2
>
> ------------------------------------------------------------------------------
>     (add/remove: 3/0 grow/shrink: 4/0 up/down: 355/0)             Total:
> 355 bytes
>
>     Signed-off-by: Pascal Bellard <[email protected]>
>     Signed-off-by: Denys Vlasenko <[email protected]>
>
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to