From b4ada860b3f9b5811de9b4bb1de78c042e7a349e Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 28 Feb 2006 23:56:44 +0000 Subject: Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagdb/parser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/tagdb/parser.c') diff --git a/apps/tagdb/parser.c b/apps/tagdb/parser.c index 1d251dcbe3..6eec3bad1c 100644 --- a/apps/tagdb/parser.c +++ b/apps/tagdb/parser.c @@ -1,11 +1,10 @@ #include #include #include +#include #include "config.h" -int errno; - int read_failure(FILE *fd) { fprintf(stderr, "Could not read from file: errno: %u ", errno); if( feof(fd) ) fprintf(stderr, "EOF"); -- cgit v1.2.3