3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
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.
15 #if defined( HAVE_ERRNO_H )
17 #elif defined( HAVE_SYS_ERRNO_H )
18 # include <sys/errno.h>
21 #ifndef HAVE_SYS_ERRLIST
24 # define sys_errlist ((char **)0)
25 #elif DECL_SYS_ERRLIST
26 /* have sys_errlist but need declaration */
28 extern char *sys_errlist[];
31 extern char* strerror_r();
33 #endif /* _AC_ERRNO_H */