Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/libs/ldap/include/ac/errno.h
4395 views
1
/* Generic errno.h */
2
/* $OpenLDAP$ */
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
*
5
* Copyright 1998-2024 The OpenLDAP Foundation.
6
* All rights reserved.
7
*
8
* Redistribution and use in source and binary forms, with or without
9
* modification, are permitted only as authorized by the OpenLDAP
10
* Public License.
11
*
12
* A copy of this license is available in file LICENSE in the
13
* top-level directory of the distribution or, alternatively, at
14
* <http://www.OpenLDAP.org/license.html>.
15
*/
16
17
#ifndef _AC_ERRNO_H
18
#define _AC_ERRNO_H
19
20
#if defined( HAVE_ERRNO_H )
21
# include <errno.h>
22
#elif defined( HAVE_SYS_ERRNO_H )
23
# include <sys/errno.h>
24
#endif
25
26
#if defined( HAVE_SYS_ERRLIST ) && defined( DECL_SYS_ERRLIST )
27
/* have sys_errlist but need declaration */
28
LDAP_LIBC_V(int) sys_nerr;
29
LDAP_LIBC_V(char) *sys_errlist[];
30
#endif
31
32
#endif /* _AC_ERRNO_H */
33
34