libutil: add O_NOCTTY back to old pty open code
[minix.git] / lib / libc / compat / gen / compat_opendir.c
blob24eaef0b8e7ad6b7f86f8d8f579aaa0710cceb83
1 /* $NetBSD: compat_opendir.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
3 #include "namespace.h"
4 #include <sys/stat.h>
5 #include <signal.h>
7 #define __LIBC12_SOURCE__
8 #include <dirent.h>
9 #include <compat/include/dirent.h>
11 #ifdef __weak_alias
12 __weak_alias(opendir,_opendir)
13 #endif
15 #ifdef __warn_references
16 __warn_references(opendir,
17 "warning: reference to compatibility opendir(); include <dirent.h> for correct reference")
18 __warn_references(__opendir2,
19 "warning: reference to compatibility __opendir2(); include <dirent.h> for correct reference")
20 #endif
22 #define dirent dirent12
24 #include "gen/opendir.c"