diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-17 21:54:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-17 21:54:17 +0000 |
commit | 20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4 (patch) | |
tree | 2dabff846860b975f6cb2d3e49567c72b0383be2 /apps/codecs/libfaad | |
parent | 5d45ec90e0614a96367e73d96fed8f47b112eced (diff) | |
download | rockbox-20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4.tar.gz rockbox-20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4.zip |
build with -Wundef to make sure we have spelled the defines right in #if lines
and have the proper includes included etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad')
-rw-r--r-- | apps/codecs/libfaad/common.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/codecs/libfaad/common.h b/apps/codecs/libfaad/common.h index 65d27338ae..59d96252e5 100644 --- a/apps/codecs/libfaad/common.h +++ b/apps/codecs/libfaad/common.h | |||
@@ -181,33 +181,33 @@ typedef float float32_t; | |||
181 | #else | 181 | #else |
182 | 182 | ||
183 | #include <stdio.h> | 183 | #include <stdio.h> |
184 | #if HAVE_SYS_TYPES_H | 184 | #ifdef HAVE_SYS_TYPES_H |
185 | # include <sys/types.h> | 185 | # include <sys/types.h> |
186 | #endif | 186 | #endif |
187 | #if HAVE_SYS_STAT_H | 187 | #ifdef HAVE_SYS_STAT_H |
188 | # include <sys/stat.h> | 188 | # include <sys/stat.h> |
189 | #endif | 189 | #endif |
190 | #if STDC_HEADERS | 190 | #ifdef STDC_HEADERS |
191 | # include <stdlib.h> | 191 | # include <stdlib.h> |
192 | # include <stddef.h> | 192 | # include <stddef.h> |
193 | #else | 193 | #else |
194 | # if HAVE_STDLIB_H | 194 | # ifdef HAVE_STDLIB_H |
195 | # include <stdlib.h> | 195 | # include <stdlib.h> |
196 | # endif | 196 | # endif |
197 | #endif | 197 | #endif |
198 | #if HAVE_STRING_H | 198 | #ifdef HAVE_STRING_H |
199 | # if !STDC_HEADERS && HAVE_MEMORY_H | 199 | # if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) |
200 | # include <memory.h> | 200 | # include <memory.h> |
201 | # endif | 201 | # endif |
202 | //# include <string.h> | 202 | //# include <string.h> |
203 | #endif | 203 | #endif |
204 | #if HAVE_STRINGS_H | 204 | #ifdef HAVE_STRINGS_H |
205 | //# include <strings.h> | 205 | //# include <strings.h> |
206 | #endif | 206 | #endif |
207 | #if HAVE_INTTYPES_H | 207 | #ifdef HAVE_INTTYPES_H |
208 | # include <inttypes.h> | 208 | # include <inttypes.h> |
209 | #else | 209 | #else |
210 | # if HAVE_STDINT_H | 210 | # ifdef HAVE_STDINT_H |
211 | # include <stdint.h> | 211 | # include <stdint.h> |
212 | # else | 212 | # else |
213 | /* we need these... */ | 213 | /* we need these... */ |
@@ -221,7 +221,7 @@ typedef short int16_t; | |||
221 | typedef char int8_t; | 221 | typedef char int8_t; |
222 | # endif | 222 | # endif |
223 | #endif | 223 | #endif |
224 | #if HAVE_UNISTD_H | 224 | #ifdef HAVE_UNISTD_H |
225 | # include <unistd.h> | 225 | # include <unistd.h> |
226 | #endif | 226 | #endif |
227 | 227 | ||