[PATCH]makedev.c

Yuwen Dai yuwend at gmail.com
Fri Dec 8 07:58:11 UTC 2006


Hi,

Since libbb/makedev.c cannot be compiled under glibc2.3.2, Debain Sarge.  I
included <features.h>

--- libbb/makedev_orig.c        2006-12-08 15:52:40.141154816 +0800
+++ libbb/makedev.c     2006-12-08 15:52:38.634383880 +0800
@@ -7,6 +7,7 @@
  */

 /* We do not include libbb.h - #define makedev() is there! */
+#include <features.h>
 #include <sys/sysmacros.h>

 #ifdef __GLIBC__


Best regards,
Dai Yuwen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20061208/eeb35066/attachment-0001.htm 
-------------- next part --------------
--- libbb/makedev_orig.c	2006-12-08 15:52:40.141154816 +0800
+++ libbb/makedev.c	2006-12-08 15:52:38.634383880 +0800
@@ -7,6 +7,7 @@
  */
 
 /* We do not include libbb.h - #define makedev() is there! */
+#include <features.h>
 #include <sys/sysmacros.h>
 
 #ifdef __GLIBC__


More information about the busybox mailing list