aboutsummaryrefslogtreecommitdiff
path: root/include/duser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/duser.h')
-rw-r--r--include/duser.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/duser.h b/include/duser.h
index 345bf49..5a70fe4 100644
--- a/include/duser.h
+++ b/include/duser.h
@@ -26,14 +26,19 @@
#endif
#include <limits.h>
-#define REGEX_MAX 255
-#define SELF __FUNCTION__
-#ifndef HAVE_SOLARIS
+#ifndef PATH_MAX
+# define PATH_MAX 256
+#endif
+
+#ifndef HAVE_COMPAT
# define FMTLIST "%20s\t%5d%23s\n"
#else
# define FMTLIST "%20s\t%5d%16s\n"
#endif
+#define REGEX_MAX 255
+#define SELF __FUNCTION__
+
typedef struct stats_t
{
int lines;