[BusyBox-cvs] CVS busybox/libbb
CVS User andersen
andersen at codepoet.org
Tue Jan 4 20:37:56 UTC 2005
Update of /var/cvs/busybox/libbb
In directory nail:/tmp/cvs-serv12321/libbb
Modified Files:
loop.c
Log Message:
Dear andersen:
Is the change on libbb/loop.c which you commited in 2005/1/3 effective
really?
The __GLIBC__ macro and __UCLIBC__ macro are defined in
feature.h in glibc source, so the change may not be effective.
If you want to check this with __GLIBC__, feature.h header is needed.
Some architectures(e.g. PPC series) need to include linux/posix_types.h
in stead of asm/posix_types.h, so the patch which is attached with
this mail include <linux/posix_types.h>.
--- /var/cvs/busybox/libbb/loop.c 2005/01/03 05:50:01 1.14
+++ /var/cvs/busybox/libbb/loop.c 2005/01/04 20:37:55 1.15
@@ -19,8 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <features.h>
#if defined (__GLIBC__) && !defined(__UCLIBC__)
-#include <asm/posix_types.h>
+#include <linux/posix_types.h>
#endif
#include <stdio.h>
#include <errno.h>
More information about the busybox-cvs
mailing list