mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			561 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			19 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;
 |