diff options
author | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2015-03-10 12:19:38 +0200 |
---|---|---|
committer | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2015-03-10 12:19:38 +0200 |
commit | ebae52c72d3488d123c6ca9e31dfd95872d0575c (patch) | |
tree | e85dd9d4289b87fde3dbd4cd2b77bb43760600dc /src/codegen.c | |
parent | df3e73b193429e9b3db977a3aa67a77a0155e39c (diff) | |
download | ffts-ebae52c72d3488d123c6ca9e31dfd95872d0575c.zip ffts-ebae52c72d3488d123c6ca9e31dfd95872d0575c.tar.gz |
Check existence of various headers and add guards for them
Diffstat (limited to 'src/codegen.c')
-rw-r--r-- | src/codegen.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c index 987d55f..7635875 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -54,10 +54,16 @@ typedef uint8_t insns_t; #include <errno.h> #include <stddef.h> /* #include <stdio.h> */ + +#ifdef HAVE_STDLIB_H #include <stdlib.h> +#endif + +#ifdef HAVE_STRING_H #include <string.h> +#endif -#ifdef __ANDROID__ +#ifdef HAVE_UNISTD_H #include <unistd.h> #endif |