workaround for Solaris: NAME_MAX is not defined

This commit is contained in:
hexcoder-
2020-12-22 20:33:06 +01:00
parent 8241ded12e
commit 9a5ea5b5c2
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,9 @@
#include <sys/time.h>
#include <signal.h>
#include <limits.h>
#if !defined NAME_MAX
#define NAME_MAX _XOPEN_NAME_MAX
#endif
#include "cmplog.h"