mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
xar: fix -Wimplicit-function-declaration
This commit is contained in:
parent
8d98abbfa9
commit
d035c56bb4
1 changed files with 20 additions and 0 deletions
20
srcpkgs/xar/patches/implicit-function-decl.patch
Normal file
20
srcpkgs/xar/patches/implicit-function-decl.patch
Normal 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"
|
Loading…
Add table
Reference in a new issue