Commit 01660dfc authored by Arnaud Lacombe's avatar Arnaud Lacombe Committed by Michal Marek

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment