diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-02-21 16:14:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-02-21 16:14:11 +0000 |
commit | 14452ff798b09b3f1615769041369c04219c49ed (patch) | |
tree | 1fdf4cc79fb28d6d09e65b71aa7a2ad07638a0a1 /libc/misc | |
parent | f50cd1662fd3527cc6e89bce03ba3d3c7b8cf3d1 (diff) |
add missing file for previous commit as pointed out by Peter Kjellerstedt
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/internal_errno.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libc/misc/internals/internal_errno.h b/libc/misc/internals/internal_errno.h new file mode 100644 index 000000000..c46e07eef --- /dev/null +++ b/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) |