summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/compat/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/compat/dirname.c')
-rw-r--r--Utilities/cmtar/compat/dirname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmtar/compat/dirname.c b/Utilities/cmtar/compat/dirname.c
index f322bbd..f05a381 100644
--- a/Utilities/cmtar/compat/dirname.c
+++ b/Utilities/cmtar/compat/dirname.c
@@ -33,14 +33,14 @@ static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $
#include <errno.h>
#include <string.h>
-//#include <sys/param.h>
#include <libtar/compat.h>
+#include <libtarint/internal.h>
char *
openbsd_dirname(path)
const char *path;
{
- static char bname[MAXPATHLEN];
+ static char bname[TAR_MAXPATHLEN];
register const char *endp;
/* Empty or NULL string gets treated as "." */