$NetBSD: patch-aa,v 1.2 2004/08/18 18:40:36 minskim Exp $ --- tar.c.orig 2004-08-06 16:27:58.000000000 -0500 +++ tar.c @@ -235,6 +235,9 @@ standards: gwoods sez IEEE Std 1003.1-19 #include /* #include grrr... */ +#ifdef __linux__ +#include +#endif #include #include #include @@ -471,8 +474,8 @@ extern char *valloc(); /* NetBSD: fix up itoo/itod and the fs_q?mask fields, and BIG* */ #ifdef TAR_INODE_NETBSD #include -#include #include +#include #define rawi_direct direct #define itoo(sb,i) ino_to_fsbo(sb,i) #define itod(sb,i) ino_to_fsba(sb,i)