1 /* $NetBSD: compat_glob.c,v 1.4 2013/10/04 21:07:37 christos Exp $ */
4 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997.
9 #define __LIBC12_SOURCE__
12 #include <compat/sys/time.h>
13 #include <compat/sys/stat.h>
15 #include <compat/include/dirent.h>
16 #define __gl_stat_t struct stat12
19 #include <compat/include/glob.h>
22 __weak_alias(glob
,_glob
)
23 __weak_alias(globfree
,_globfree
)
24 #endif /* __weak_alias */
26 __warn_references(glob
,
27 "warning: reference to compatibility glob(); include <glob.h> for correct reference")
28 __warn_references(globfree
,
29 "warning: reference to compatibility globfree(); include <glob.h> for correct reference")
31 #define stat __compat_stat
32 #define lstat __compat_lstat
33 #define fstat __compat_fstat