void-packages/srcpkgs/yaz/patches/implicit-function-decl.patch

21 lines
344 B
Diff

--- 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>