summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/output.c')
-rw-r--r--Utilities/cmtar/output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmtar/output.c b/Utilities/cmtar/output.c
index a60cde2..56e5a74 100644
--- a/Utilities/cmtar/output.c
+++ b/Utilities/cmtar/output.c
@@ -13,6 +13,7 @@
#include <libtarint/internal.h>
#include <stdio.h>
+#include <stdlib.h>
#if !defined(_WIN32) || defined(__CYGWIN__)
# include <pwd.h>
@@ -76,7 +77,7 @@ th_print_long_ls(TAR *t)
char groupname[_POSIX_LOGIN_NAME_MAX];
time_t mtime;
struct tm *mtm;
- char *pathname = 0;
+ char *pathname;
#ifdef HAVE_STRFTIME
char timebuf[18];