]> git.sur5r.net Git - openldap/blobdiff - include/ac/param.h
Happy New Year
[openldap] / include / ac / param.h
index 5020fac4f4c621d263a1f70ce1126a290129d9cf..7baba8d34da01da793ba76275a2d33c6e34c5b56 100644 (file)
@@ -1,14 +1,17 @@
 /* Generic param.h */
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2013 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted only as authorized by the OpenLDAP
- * Public License.  A copy of this license is available at
- * http://www.OpenLDAP.org/license.html or in file LICENSE in the
- * top-level directory of the distribution.
+ * Public License.
+ *
+ * A copy of this license is available in file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #ifndef _AC_PARAM_H
 #include <sys/param.h>
 #endif
 
+/* MAXPATHLEN should come from <unistd.h> */
+#include <ac/unistd.h>
+
 #ifndef MAXPATHLEN
-#      if defined(PATHMAX)
-#              define MAXPATHLEN       PATHMAX
+#      if defined(PATH_MAX)
+#              define MAXPATHLEN       PATH_MAX
 
 #      elif defined(_MAX_PATH)
 #              define MAXPATHLEN       _MAX_PATH