aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-01-04 20:37:55 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-01-04 20:37:55 +0000
commit7b0e0c66e5a75b778aaadcea4df7669ba07945b4 (patch)
tree130fc52c078677d292e10575a73ad77ff16a6591
parent07555dc73cc8ebbf580e10bdc7e2b5d909aee256 (diff)
downloadbusybox-w32-7b0e0c66e5a75b778aaadcea4df7669ba07945b4.tar.gz
busybox-w32-7b0e0c66e5a75b778aaadcea4df7669ba07945b4.tar.bz2
busybox-w32-7b0e0c66e5a75b778aaadcea4df7669ba07945b4.zip
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
-rw-r--r--libbb/loop.c3
1 files changed, 2 insertions, 1 deletions
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 @@
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */ 20 */
21 21
22#include <features.h>
22#if defined (__GLIBC__) && !defined(__UCLIBC__) 23#if defined (__GLIBC__) && !defined(__UCLIBC__)
23#include <asm/posix_types.h> 24#include <linux/posix_types.h>
24#endif 25#endif
25#include <stdio.h> 26#include <stdio.h>
26#include <errno.h> 27#include <errno.h>