/* Generic stdlib.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_STDLIB_H17#define _AC_STDLIB_H1819#if defined( HAVE_CSRIMALLOC )20#include <stdio.h>21#define MALLOC_TRACE22#include <libmalloc.h>23#endif2425#include <stdlib.h>2627/* Ignore malloc.h if we have STDC_HEADERS */28#if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)29# include <malloc.h>30#endif3132#ifndef EXIT_SUCCESS33# define EXIT_SUCCESS 034# define EXIT_FAILURE 135#endif3637#ifdef HAVE_LIMITS_H38#include <limits.h>39#endif4041#if defined(LINE_MAX)42# define AC_LINE_MAX LINE_MAX43#else44# define AC_LINE_MAX 2048 /* POSIX MIN */45#endif4647#endif /* _AC_STDLIB_H */484950