1 /* $NetBSD: compat_glob.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */ 2 3 /* 4 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997. 5 * Public domain. 6 */ 7 8 #define __LIBC12_SOURCE__ 9 10 #include "namespace.h" 11 #include <sys/stat.h> 12 #include <compat/sys/stat.h> 13 #include <dirent.h> 14 #include <compat/include/dirent.h> 15 #define __gl_stat_t struct stat12 16 17 #include <glob.h> 18 #include <compat/include/glob.h> 19 20 #ifdef __weak_alias 21 __weak_alias(glob,_glob) 22 __weak_alias(globfree,_globfree) 23 #endif /* __weak_alias */ 24 25 __warn_references(glob, 26 "warning: reference to compatibility glob(); include <glob.h> for correct reference") 27 __warn_references(globfree, 28 "warning: reference to compatibility globfree(); include <glob.h> for correct reference") 29 30 #include "gen/glob.c" 31