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