Skip to content

Commit

Permalink
illumos defines _MAX macros in limits.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Oct 13, 2024
1 parent 39e0149 commit 2cd258b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rrd_config_bottom.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif

/* illumos defines *_MAX macros in limits.h */
#ifdef __illumos__
# include <limits.h>
#endif

#ifndef MAXPATH
# ifdef PATH_MAX
# define MAXPATH PATH_MAX
Expand Down

0 comments on commit 2cd258b

Please sign in to comment.