Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@


#include <assert.h>
#include <malloc.h>
#include <stdlib.h>
#include "genksyms.h"

static int is_typedef;
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
%{

#include <assert.h>
#include <malloc.h>
#include <stdlib.h>
#include "genksyms.h"

static int is_typedef;