]> git.sur5r.net Git - openldap/blob - include/ac/stdlib.h
Merge in all -devel changes made since branch was created.
[openldap] / include / ac / stdlib.h
1 /* Generic stdlib.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_STDLIB_H
13 #define _AC_STDLIB_H
14
15 #if defined( HAVE_CSRIMALLOC )
16 #include <stdio.h>
17 #define MALLOC_TRACE
18 #include <libmalloc.h>
19 #endif
20
21 #include <stdlib.h>
22
23 /* Ignore malloc.h if we have STDC_HEADERS */
24 #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
25 #       include <malloc.h>
26 #endif
27
28 #ifndef EXIT_SUCCESS
29 #       define EXIT_SUCCESS 0
30 #       define EXIT_FAILURE 1
31 #endif
32
33 #endif /* _AC_STDLIB_H */