mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
scripts/genksyms: fix header usage
FreeBSD does not like <malloc.h> when __STDC__ is defined, use the standard <stdlib.h> instead. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
committed by
Michal Marek
parent
8af27e1dc4
commit
01660dfc37
@@ -160,7 +160,7 @@
|
||||
|
||||
|
||||
#include <assert.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "genksyms.h"
|
||||
|
||||
static int is_typedef;
|
||||
|
@@ -24,7 +24,7 @@
|
||||
%{
|
||||
|
||||
#include <assert.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "genksyms.h"
|
||||
|
||||
static int is_typedef;
|
||||
|
Reference in New Issue
Block a user