summaryrefslogtreecommitdiffstats
path: root/libc/misc/internals/internal_errno.h
blob: d591dec3ba50add602639be34decc187fe92628b (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_THREADS_NATIVE__

#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