$NetBSD: patch-as,v 1.2 2006/10/10 06:56:05 uebayasi Exp $ --- ld/io.c.orig 1994-04-17 23:59:53.000000000 +0200 +++ ld/io.c @@ -13,6 +13,7 @@ void *malloc P((unsigned size)); #else #undef NULL #include +#include #endif #ifdef POSIX_HEADERS_MISSING @@ -33,7 +34,6 @@ int read P((int fd, void *buf, unsigned mode_t umask P((int oldmask)); int write P((int fd, const void *buf, unsigned nbytes)); #else -#undef NULL #include #include #include