summaryrefslogtreecommitdiff
path: root/libc/misc/internals/internal_errno.h
blob: d05537cdffd49c6f09eb844a71ec4a1f8d1fbd7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *
 */

#include <features.h>
#include <errno.h>
#include <netdb.h>

#undef errno
#undef h_errno

/* need to tweak libpthread
#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)