diff options
| author | Arnaud Lacombe <lacombar@gmail.com> | 2010-11-08 18:31:53 -0500 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-11-25 10:25:06 -0500 |
| commit | 01660dfc37933c92dbb7c5718aea61f88025d71f (patch) | |
| tree | 13a55e3214f70f123982a8c274708b1cb904e316 /scripts/genksyms | |
| parent | 8af27e1dc4e4dd7a7b04c2cd0fc3d419d91d45b0 (diff) | |
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')
| -rw-r--r-- | scripts/genksyms/parse.c_shipped | 2 | ||||
| -rw-r--r-- | scripts/genksyms/parse.y | 2 |
2 files changed, 2 insertions, 2 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 @@ | |||
| 160 | 160 | ||
| 161 | 161 | ||
| 162 | #include <assert.h> | 162 | #include <assert.h> |
| 163 | #include <malloc.h> | 163 | #include <stdlib.h> |
| 164 | #include "genksyms.h" | 164 | #include "genksyms.h" |
| 165 | 165 | ||
| 166 | static int is_typedef; | 166 | static int is_typedef; |
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 @@ | |||
| 24 | %{ | 24 | %{ |
| 25 | 25 | ||
| 26 | #include <assert.h> | 26 | #include <assert.h> |
| 27 | #include <malloc.h> | 27 | #include <stdlib.h> |
| 28 | #include "genksyms.h" | 28 | #include "genksyms.h" |
| 29 | 29 | ||
| 30 | static int is_typedef; | 30 | static int is_typedef; |
