yaz: fix -Wimplicit-function-declaration
This commit is contained in:
parent
d035c56bb4
commit
8bae16eea5
1 changed files with 20 additions and 0 deletions
20
srcpkgs/yaz/patches/implicit-function-decl.patch
Normal file
20
srcpkgs/yaz/patches/implicit-function-decl.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/src/record_conv.c
|
||||
+++ b/src/record_conv.c
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <yaz/log.h>
|
||||
#include <yaz/yaz-iconv.h>
|
||||
--- a/src/xmlquery.c
|
||||
+++ b/src/xmlquery.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
Loading…
Add table
Reference in a new issue