1 /* $NetBSD: compat_scandir.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
4 #define __LIBC12_SOURCE__
7 #include <compat/include/dirent.h>
10 __weak_alias(scandir
,_scandir
)
13 #ifdef __warn_references
14 __warn_references(scandir
,
15 "warning: reference to compatibility scandir(); include <dirent.h> for correct reference")
18 #define dirent dirent12
20 #include "gen/scandir.c"