/* Generic errno.h */1/* $OpenLDAP$ */2/* This work is part of OpenLDAP Software <http://www.openldap.org/>.3*4* Copyright 1998-2024 The OpenLDAP Foundation.5* All rights reserved.6*7* Redistribution and use in source and binary forms, with or without8* modification, are permitted only as authorized by the OpenLDAP9* Public License.10*11* A copy of this license is available in file LICENSE in the12* top-level directory of the distribution or, alternatively, at13* <http://www.OpenLDAP.org/license.html>.14*/1516#ifndef _AC_ERRNO_H17#define _AC_ERRNO_H1819#if defined( HAVE_ERRNO_H )20# include <errno.h>21#elif defined( HAVE_SYS_ERRNO_H )22# include <sys/errno.h>23#endif2425#if defined( HAVE_SYS_ERRLIST ) && defined( DECL_SYS_ERRLIST )26/* have sys_errlist but need declaration */27LDAP_LIBC_V(int) sys_nerr;28LDAP_LIBC_V(char) *sys_errlist[];29#endif3031#endif /* _AC_ERRNO_H */323334