]> git.sur5r.net Git - openldap/blob - include/ac/stdlib.h
s/Id/OpenLDAP/ in RCSids
[openldap] / include / ac / stdlib.h
1 /* Generic stdlib.h */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms are permitted only
8  * as authorized by the OpenLDAP Public License.  A copy of this
9  * license is available at http://www.OpenLDAP.org/license.html or
10  * in file LICENSE in the top-level directory of the distribution.
11  */
12
13 #ifndef _AC_STDLIB_H
14 #define _AC_STDLIB_H
15
16 #if defined( HAVE_CSRIMALLOC )
17 #include <stdio.h>
18 #define MALLOC_TRACE
19 #include <libmalloc.h>
20 #endif
21
22 #include <stdlib.h>
23
24 /* Ignore malloc.h if we have STDC_HEADERS */
25 #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
26 #       include <malloc.h>
27 #endif
28
29 #ifndef EXIT_SUCCESS
30 #       define EXIT_SUCCESS 0
31 #       define EXIT_FAILURE 1
32 #endif
33
34 #endif /* _AC_STDLIB_H */