/* Generic param.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_PARAM_H17#define _AC_PARAM_H1819#ifdef HAVE_SYS_PARAM_H20#include <sys/param.h>21#endif2223/* MAXPATHLEN should come from <unistd.h> */24#include <ac/unistd.h>2526#ifndef MAXPATHLEN27# if defined(PATH_MAX)28# define MAXPATHLEN PATH_MAX2930# elif defined(_MAX_PATH)31# define MAXPATHLEN _MAX_PATH3233# else34# define MAXPATHLEN 409635# endif36#endif3738#endif /* _AC_PARAM_H */394041