aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/read_sparse_map_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tar/read_sparse_map_old.c')
-rw-r--r--lib/tar/read_sparse_map_old.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tar/read_sparse_map_old.c b/lib/tar/read_sparse_map_old.c
index cd7177d..3dd3300 100644
--- a/lib/tar/read_sparse_map_old.c
+++ b/lib/tar/read_sparse_map_old.c
@@ -5,9 +5,11 @@
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
#include "config.h"
-
#include "internal.h"
+#include <ctype.h>
+#include <stdlib.h>
+
sparse_map_t *read_gnu_old_sparse(istream_t *fp, tar_header_t *hdr)
{
sparse_map_t *list = NULL, *end = NULL, *node;