summaryrefslogtreecommitdiff
path: root/archivers/mousetar/patches/patch-aa
blob: 6cef5f5e59f097375c3e11262415c14f1917ab51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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 <stdio.h>
 /* #include <time.h> grrr... */
+#ifdef __linux__
+#include <time.h>
+#endif
 #include <errno.h>
 #include <ctype.h>
 #include <setjmp.h>
@@ -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 <sys/param.h>
-#include <ufs/ffs/fs.h>
 #include <ufs/ufs/dinode.h>
+#include <ufs/ffs/fs.h>
 #define rawi_direct direct
 #define itoo(sb,i) ino_to_fsbo(sb,i)
 #define itod(sb,i) ino_to_fsba(sb,i)