summaryrefslogtreecommitdiff
path: root/archivers/macutil/patches/patch-ac
blob: bd69780367c431ba61bcfc46fcefeaffc7c4565e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.2 2006/08/30 15:22:15 rillig Exp $

--- util/transname.c.orig	2006-08-30 17:17:45.574356868 +0200
+++ util/transname.c	2006-08-30 17:19:54.708419336 +0200
@@ -1,5 +1,10 @@
 #include <sys/types.h>
+#if defined(__sun)
+#include <dirent.h>
+#else
 #include <sys/dir.h>
+#endif
+#include <limits.h>
 
 char *strncpy();