diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-09 06:59:58 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-09 06:59:58 +0000 |
commit | b71a0fe71e5b0b450afc392a182ec5f3b7488408 (patch) | |
tree | 75d6c4187384bc385d59838834bac80f53a077cd /md5sum.c | |
parent | 8addc88df4e17c82c6c73cc1e48bf78c6cdf48a7 (diff) | |
download | busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.gz busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.bz2 busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.zip |
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@795 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'md5sum.c')
-rw-r--r-- | md5sum.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -24,6 +24,14 @@ | |||
24 | #include <stdio.h> | 24 | #include <stdio.h> |
25 | #include <errno.h> | 25 | #include <errno.h> |
26 | #include <ctype.h> | 26 | #include <ctype.h> |
27 | #include <getopt.h> | ||
28 | |||
29 | /* It turns out that libc5 doesn't have this in its headers | ||
30 | * even though it is actually in the lib. Force it to work */ | ||
31 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ | ||
32 | #define getline __getline | ||
33 | extern _IO_ssize_t getline __P ((char **, size_t *, FILE *)); | ||
34 | #endif | ||
27 | 35 | ||
28 | //---------------------------------------------------------------------------- | 36 | //---------------------------------------------------------------------------- |
29 | //--------md5.c | 37 | //--------md5.c |