Commit bfc73a473bd3dbde973c26a5580d74441b7edfb6

Christian Weisgerber 2022-03-19T14:53:07

explicitly include <unistd.h> for close(2)

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/pack_create.c b/lib/pack_create.c
index 273f38d..3cd0e26 100644
--- a/lib/pack_create.c
+++ b/lib/pack_create.c
@@ -30,6 +30,7 @@
 #include <string.h>
 #include <sha1.h>
 #include <time.h>
+#include <unistd.h>
 #include <limits.h>
 #include <zlib.h>