summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__errno_location.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals/__errno_location.c')
-rw-r--r--libc/misc/internals/__errno_location.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c
index 5a2af36fd..a44bf6062 100644
--- a/libc/misc/internals/__errno_location.c
+++ b/libc/misc/internals/__errno_location.c
@@ -4,10 +4,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include <errno.h>
-#undef errno
-extern int errno;
-libc_hidden_proto(errno)
+#include "internal_errno.h"
/* psm: moved to bits/errno.h: libc_hidden_proto(__errno_location) */
libc_hidden_proto(__errno_location)