xar: fix -Wimplicit-function-declaration

This commit is contained in:
Đoàn Trần Công Danh 2024-02-20 08:20:51 +07:00
parent 8d98abbfa9
commit d035c56bb4
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- a/xar/lib/ext2.c
+++ b/xar/lib/ext2.c
@@ -41,6 +41,7 @@
#include "asprintf.h"
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "xar.h"
#include "arcmod.h"
--- a/xar/lib/linuxattr.c
+++ b/xar/lib/linuxattr.c
@@ -37,6 +37,7 @@
#include "config.h"
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <libgen.h>
#include "xar.h"