aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/genksyms/parse.y
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-11-08 18:31:53 -0500
committerMichal Marek <mmarek@suse.cz>2010-11-25 16:25:06 +0100
commit01660dfc37933c92dbb7c5718aea61f88025d71f (patch)
tree13a55e3214f70f123982a8c274708b1cb904e316 /scripts/genksyms/parse.y
parent8af27e1dc4e4dd7a7b04c2cd0fc3d419d91d45b0 (diff)
downloadlinux-yocto-01660dfc37933c92dbb7c5718aea61f88025d71f.tar.gz
linux-yocto-01660dfc37933c92dbb7c5718aea61f88025d71f.tar.bz2
linux-yocto-01660dfc37933c92dbb7c5718aea61f88025d71f.zip
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>
Diffstat (limited to 'scripts/genksyms/parse.y')
-rw-r--r--scripts/genksyms/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y
index 10d7dc724b6d..09a265cd7193 100644
--- a/scripts/genksyms/parse.y
+++ b/scripts/genksyms/parse.y
@@ -24,7 +24,7 @@
%{
#include <assert.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "genksyms.h"
static int is_typedef;