summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms/parse.c_shipped
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-11-09 00:31:53 +0100
committerMichal Marek <mmarek@suse.cz>2010-11-25 16:25:06 +0100
commit01660dfc37933c92dbb7c5718aea61f88025d71f (patch)
tree13a55e3214f70f123982a8c274708b1cb904e316 /scripts/genksyms/parse.c_shipped
parentfixdep: use hash table instead of a single array (diff)
downloadlinux-01660dfc37933c92dbb7c5718aea61f88025d71f.tar.xz
linux-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.c_shipped')
-rw-r--r--scripts/genksyms/parse.c_shipped2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genksyms/parse.c_shipped b/scripts/genksyms/parse.c_shipped
index eaee44e66a43..809b949e495b 100644
--- a/scripts/genksyms/parse.c_shipped
+++ b/scripts/genksyms/parse.c_shipped
@@ -160,7 +160,7 @@
#include <assert.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "genksyms.h"
static int is_typedef;