diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-02-28 23:56:44 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-02-28 23:56:44 +0000 |
commit | b4ada860b3f9b5811de9b4bb1de78c042e7a349e (patch) | |
tree | 3bc7f11e47f3ec36f439453fca1bf044afb9b225 /apps | |
parent | ef4e43822fcbdfeb9ede918eb7936d0c945f66ac (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tagdb/parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <stdio.h> #include <stdint.h> #include <stdlib.h> +#include <errno.h> #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"); |