Comment on kernel stuff
[oweals/busybox.git] / coreutils / md5sum.c
index ffa9e6bce65b276e7232f586c72518ea6f883834..f4a8b99d0018065fb38fcf614976eaa0558918e5 100644 (file)
 #include <stdio.h>
 #include <errno.h>
 #include <ctype.h>
+#include <getopt.h>
+
+/* It turns out that libc5 doesn't have this in its headers
+ * even though it is actually in the lib.  Force it to work */
+#if ! defined __GLIBC__ && ! defined __UCLIBC__
+#define getline __getline
+extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
+#endif
 
 //----------------------------------------------------------------------------
 //--------md5.c