summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2007-12-12 16:28:18 +0000
committerDmitry Bogatov <KAction@debian.org>2018-12-05 15:47:18 +0000
commit991388792468bfa142f207484994f386c2c04675 (patch)
treee322c9146f0bc81397dfbf5deec2a2e38b2949d1
parent4b705db56229a95a43e6966796d4f0b0033f5ed6 (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 d5f3c7e..f660d93 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;