Skip to content
Snippets Groups Projects
Commit 01660dfc authored by Arnaud Lacombe's avatar Arnaud Lacombe Committed by Michal Marek
Browse files

scripts/genksyms: fix header usage


FreeBSD does not like <malloc.h> when __STDC__ is defined, use the standard
<stdlib.h> instead.

Signed-off-by: default avatarArnaud Lacombe <lacombar@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 8af27e1d
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
#include <assert.h> #include <assert.h>
#include <malloc.h> #include <stdlib.h>
#include "genksyms.h" #include "genksyms.h"
static int is_typedef; static int is_typedef;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
%{ %{
#include <assert.h> #include <assert.h>
#include <malloc.h> #include <stdlib.h>
#include "genksyms.h" #include "genksyms.h"
static int is_typedef; static int is_typedef;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment