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

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

#ifndef __UCLIBC_HAS_TLS__

#undef errno
#undef h_errno

extern int h_errno;
extern int errno;

#ifdef __UCLIBC_HAS_THREADS__
libc_hidden_proto(h_errno)
libc_hidden_proto(errno)
#endif
#endif