aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev/acl-2.2.49/nolargefile.patch
blob: 272b97e22f335a5c46e3e5c4d605f9cade86051c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- acl-2.2.49/chacl/chacl.c.orig	2010-12-21 14:00:42.563984943 +1030
+++ acl-2.2.49/chacl/chacl.c	2010-12-21 14:01:15.614983219 +1030
@@ -315,6 +315,12 @@
 	return(failed);
 }
 
+#ifndef __USE_LARGEFILE64
+/* XXX: hack! */
+#define dirent64 dirent
+#define readdir64 readdir
+#endif
+
 static int
 walk_dir(acl_t acl, acl_t dacl, const char *fname)
 {