]> git.sur5r.net Git - openldap/blob - ac/errno.h
Do not require ac/string.h for lber_pvt.h
[openldap] / ac / errno.h
1 /* Generic errno.h */
2
3 #ifndef _AC_ERRNO_H
4 #define _AC_ERRNO_H
5
6 #if defined( HAVE_ERRNO_H )
7 # include <errno.h>
8 #elif defined( HAVE_SYS_ERRNO_H )
9 # include <sys/errno.h>
10 #endif
11
12 #ifdef DECL_SYS_ERRLIST 
13 extern int      sys_nerr;
14 extern char     *sys_errlist[];
15 #endif
16     
17 /* use _POSIX_VERSION for POSIX.1 code */
18
19 #endif /* _AC_ERRNO_H */