[BusyBox 0005574]: inotifyd fails to compile

bugs at busybox.net bugs at busybox.net
Sun Oct 19 19:24:07 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=5574 
====================================================================== 
Reported By:                dvv
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   5574
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-19-2008 12:24 PDT
Last Modified:              10-19-2008 12:24 PDT
====================================================================== 
Summary:                    inotifyd fails to compile
Description: 
With recent kernel headers inotifyd fails to compile. The following patch
fixes this.

--- busybox.orig/miscutils/inotifyd.c   Fri Sep 12 18:59:07 2008
+++ busybox/miscutils/inotifyd.c        Sun Oct 19 23:34:51 2008
@@ -28,7 +28,11 @@
  */

 #include "libbb.h"
+#define HAVE_ARCH_STRUCT_FLOCK 1
+#define HAVE_ARCH_STRUCT_FLOCK64 1
 #include <linux/inotify.h>
+#undef HAVE_ARCH_STRUCT_FLOCK64
+#undef HAVE_ARCH_STRUCT_FLOCK

 static const char mask_names[] ALIGN1 =
        "a"     // 0x00000001   File was accessed


Regards,
Vladimir
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-19-08 12:24  dvv            New Issue                                    
10-19-08 12:24  dvv            Status                   new => assigned     
10-19-08 12:24  dvv            Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list