summaryrefslogtreecommitdiff
path: root/misc/colorls/patches/patch-util.c
blob: 76ccd6dc6d0d12b34584f20522d28c8f263fbfda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-util.c,v 1.1 2015/07/09 11:44:09 jperkin Exp $

Use nbcompat.

--- util.c.orig	1996-12-21 23:40:58.000000000 +0000
+++ util.c
@@ -44,7 +44,12 @@ static char const sccsid[] = "@(#)util.c
 #include <sys/stat.h>
 
 #include <ctype.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat.h>
+#include <nbcompat/fts.h>
+#else
 #include <fts.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>