summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tagdb/parser.c3
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");