summaryrefslogtreecommitdiff
path: root/Libraries/LibC/errno.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-08 14:20:13 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-08 14:20:13 +0200
commit31ba7ba2cc5703e0288defc854e6cd73c5da25a3 (patch)
treecb655707e046c79b19641ff27d36729dccaa00b2 /Libraries/LibC/errno.h
parent23eafdb8d6f1c866049dfe39281af42b68fe0d79 (diff)
downloadserenity-31ba7ba2cc5703e0288defc854e6cd73c5da25a3.zip
LibC: #define errno errno
This makes the binutils port build again, after the TLS changes.
Diffstat (limited to 'Libraries/LibC/errno.h')
-rw-r--r--Libraries/LibC/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibC/errno.h b/Libraries/LibC/errno.h
index 68db1a0417..39e59a878a 100644
--- a/Libraries/LibC/errno.h
+++ b/Libraries/LibC/errno.h
@@ -19,4 +19,6 @@ extern const char* sys_errlist[];
extern int sys_nerr;
extern __thread int errno;
+#define errno errno
+
__END_DECLS