blob: eb3bd0cd41ece500bab271255abbac3a0af9c204 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#ifndef BERRNO_H
#define BERRNO_H
#include <Errors.h>
// mmu_man: this is needed for http.c (defined errno)
#include <errno.h>
#ifdef ENOENT
#undef ENOENT
#endif
#define ENOENT 2
#ifdef EINTR
#undef EINTR
#endif
#define EINTR 4
#ifdef EIO
#undef EIO
#endif
#define EIO 5
#ifdef EAGAIN
#undef EAGAIN
#endif
#define EAGAIN 11
#ifdef ENOMEM
#undef ENOMEM
#endif
#define ENOMEM 12
#ifdef EINVAL
#undef EINVAL
#endif
#define EINVAL 22
#ifdef EPIPE
#undef EPIPE
#endif
#define EPIPE 32
#endif /* BERRNO_H */
|