From 7b0e0c66e5a75b778aaadcea4df7669ba07945b4 Mon Sep 17 00:00:00 2001
From: andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Date: Tue, 4 Jan 2005 20:37:55 +0000
Subject: 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>.


git-svn-id: svn://busybox.net/trunk/busybox@9641 69ca8d6d-28ef-0310-b511-8ec308f3f277
---
 libbb/loop.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'libbb')

diff --git a/libbb/loop.c b/libbb/loop.c
index bd837c3b0..8c3ad2ce0 100644
--- a/libbb/loop.c
+++ b/libbb/loop.c
@@ -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>
-- 
cgit v1.2.3-55-g6feb