The following patch fixes a problem where strndup is not defined in
the C library but strdup is:
--- strndup.c~ Sun Mar 30 22:21:09 1997
+++ strndup.c Tue Apr 1 13:23:51 1997
@@ -20,7 +20,7 @@
#include <string.h>
-#ifndef HAVE_STRDUP
+#ifndef HAVE_STRNDUP
char *
strndup (const char * s, size_t n)
@@ -33,4 +33,4 @@
return clone;
}
-#endif /* !HAVE_STRDUP */
+#endif /* !HAVE_STRNDUP */
-- Gord Matzigkeit | Proudly running pieces of the GNU operating system. gord@m-tech.ab.ca | Jacques Cousteau loved programming in assembler.
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com