]> git.sur5r.net Git - openldap/blob - include/ac/errno.h
Update copyright of build environment, includes, and liblber/libldap.
[openldap] / include / ac / errno.h
1 /* Generic errno.h */
2 /*
3  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11
12 #ifndef _AC_ERRNO_H
13 #define _AC_ERRNO_H
14
15 #if defined( HAVE_ERRNO_H )
16 # include <errno.h>
17 #elif defined( HAVE_SYS_ERRNO_H )
18 # include <sys/errno.h>
19 #endif
20
21 #ifdef DECL_SYS_ERRLIST 
22 extern int      sys_nerr;
23 extern char     *sys_errlist[];
24 #endif
25     
26 /* use _POSIX_VERSION for POSIX.1 code */
27
28 #endif /* _AC_ERRNO_H */