fix missing timeout argument to futex syscall in __futexwait
[oweals/musl.git] / include / errno.h
1 #ifndef _ERRNO_H
2 #define _ERRNO_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <features.h>
9
10 #include <bits/errno.h>
11
12 int *__errno_location(void);
13 #define errno (*__errno_location())
14
15 #ifdef _GNU_SOURCE
16 extern char *program_invocation_short_name, *program_invocation_name;
17 #endif
18
19 #ifdef __cplusplus
20 }
21 #endif
22
23 #endif
24