summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__h_errno_location.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals/__h_errno_location.c')
-rw-r--r--libc/misc/internals/__h_errno_location.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c
index 96f51ae5c..10b7673e3 100644
--- a/libc/misc/internals/__h_errno_location.c
+++ b/libc/misc/internals/__h_errno_location.c
@@ -1,7 +1,14 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
#define __FORCE_GLIBC
#include <features.h>
#include <netdb.h>
#undef h_errno
+extern int h_errno;
libc_hidden_proto(h_errno)