mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
18 lines
561 B
Diff
18 lines
561 B
Diff
Patch-Source: https://sources.debian.org/data/main/libx/libxml-bare-perl/0.53-4/debian/patches/implicit_declaration_of_free.patch
|
|
--
|
|
Description: fix warning "incompatible implicit declaration of built-in function 'free'"
|
|
by unconditionally including stdlib.h (required on Linux)
|
|
Author: Florian Schlichting <fsfs@debian.org>
|
|
|
|
--- a/parser.c
|
|
+++ b/parser.c
|
|
@@ -1,8 +1,6 @@
|
|
#include "parser.h"
|
|
#include<stdio.h>
|
|
-#ifdef DARWIN
|
|
- #include "stdlib.h"
|
|
-#endif
|
|
+#include "stdlib.h"
|
|
#ifdef NOSTRING
|
|
void memset(char *s, int c, int n) {
|
|
char *se = s + n;
|