Remove building with NOCRYPTO option
[minix3.git] / lib / libc / compat / gen / compat_glob.c
blob629e40044c03479b971b966793267220ec3cf79d
1 /* $NetBSD: compat_glob.c,v 1.4 2013/10/04 21:07:37 christos Exp $ */
3 /*
4 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997.
5 * Public domain.
6 */
7 #include "namespace.h"
8 #include <pwd.h>
9 #define __LIBC12_SOURCE__
11 #include <sys/stat.h>
12 #include <compat/sys/time.h>
13 #include <compat/sys/stat.h>
14 #include <dirent.h>
15 #include <compat/include/dirent.h>
16 #define __gl_stat_t struct stat12
18 #include <glob.h>
19 #include <compat/include/glob.h>
21 #ifdef __weak_alias
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
35 #include "gen/glob.c"