diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/md5sum.c | 8 | ||||
-rw-r--r-- | coreutils/uudecode.c | 1 | ||||
-rw-r--r-- | coreutils/uuencode.c | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index ffa9e6bce..f4a8b99d0 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c | |||
@@ -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 |
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 752497cb0..ac33762b0 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -55,6 +55,7 @@ | |||
55 | 55 | ||
56 | #include <stdio.h> | 56 | #include <stdio.h> |
57 | #include <errno.h> | 57 | #include <errno.h> |
58 | #include <getopt.h> | ||
58 | #include <pwd.h> | 59 | #include <pwd.h> |
59 | 60 | ||
60 | /*struct passwd *getpwnam();*/ | 61 | /*struct passwd *getpwnam();*/ |
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 97801aa09..e4fc1a0bc 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
@@ -56,6 +56,7 @@ | |||
56 | 56 | ||
57 | #include <stdio.h> | 57 | #include <stdio.h> |
58 | #include <errno.h> | 58 | #include <errno.h> |
59 | #include <getopt.h> | ||
59 | #include <pwd.h> | 60 | #include <pwd.h> |
60 | 61 | ||
61 | #define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) | 62 | #define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) |