summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2008-06-09 19:44:15 +0000
committerDmitry Bogatov <KAction@debian.org>2019-01-11 20:46:13 +0000
commita7e8121e439bb2d277d03f13eb22b6e03474952f (patch)
tree56b9c409f009f95c8bb2cada1f65e31952c6c0c6
parentd0147aad2a5e0811cac40a59b15b50848713f8ee (diff)
[PATCH] error.h: '#include <errno.h>' instead of 'extern int errno;'
Gbp-Pq: Name 0001-error.h-include-errno.h-instead-of-extern-int.diff
-rw-r--r--error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.h b/error.h
index 01bd3dc..5d98c6b 100644
--- a/error.h
+++ b/error.h
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;