Commit e29b6d9c authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Rémi Denis-Courmont

NAME_MAX is undefined on SunOS

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 36c1cbc3
......@@ -38,6 +38,9 @@
#include <stdio.h>
#include <limits.h> /* NAME_MAX */
#if !defined(NAME_MAX) && defined(_POSIX_NAME_MAX)
# define NAME_MAX _POSIX_NAME_MAX
#endif
#include <errno.h>
#include <sys/types.h>
#ifdef HAVE_DIRENT_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment