]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/dirname.c.patch
Libc-763.12.tar.gz
[apple/libc.git] / gen / FreeBSD / dirname.c.patch
1 --- dirname.c.orig 2009-11-07 14:51:37.000000000 -0800
2 +++ dirname.c 2009-11-07 14:51:40.000000000 -0800
3 @@ -25,6 +25,10 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/dir
4 #include <string.h>
5 #include <sys/param.h>
6
7 +#if __DARWIN_UNIX03
8 +#define const /**/
9 +#endif
10 +
11 char *
12 dirname(const char *path)
13 {