提交 01660dfc 编写于 作者: A Arnaud Lacombe 提交者: 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: NArnaud Lacombe <lacombar@gmail.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册