Browse Source

add missing file for previous commit as pointed out by Peter Kjellerstedt

Mike Frysinger 18 years ago
parent
commit
14452ff798
1 changed files with 21 additions and 0 deletions
  1. 21 0
      libc/misc/internals/internal_errno.h

+ 21 - 0
libc/misc/internals/internal_errno.h

@@ -0,0 +1,21 @@
+/*
+ *
+ */
+
+#include <features.h>
+#include <errno.h>
+#include <netdb.h>
+
+#undef errno
+#undef h_errno
+
+#ifdef __UCLIBC_HAS_THREADS__
+# define errno __uclibc_errno
+# define h_errno __uclibc_h_errno
+#endif
+
+extern int h_errno;
+libc_hidden_proto(h_errno)
+
+extern int errno;
+libc_hidden_proto(errno)