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-01 22:02:19 +0000
commitccfd5b559e195f46872370c7adc99921cd1a3e6c (patch)
tree5cb378859e7806d11a582821392d6760145185be
parentcd18cb5c5732720f663d1ee2333fa43427fd0d3b (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;