2002-07-20 01:23:40 +03:00
|
|
|
#ifndef BERRNO_H
|
|
|
|
#define BERRNO_H
|
|
|
|
|
|
|
|
#include <Errors.h>
|
|
|
|
|
2002-07-20 23:05:50 +03:00
|
|
|
// mmu_man: this is needed for http.c (defined errno)
|
|
|
|
#include <errno.h>
|
|
|
|
|
2002-07-20 01:23:40 +03:00
|
|
|
#ifdef ENOENT
|
|
|
|
#undef ENOENT
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define ENOENT 2
|
|
|
|
|
|
|
|
#ifdef EINTR
|
|
|
|
#undef EINTR
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define EINTR 4
|
|
|
|
|
|
|
|
#ifdef EIO
|
|
|
|
#undef EIO
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define EIO 5
|
|
|
|
|
|
|
|
#ifdef EAGAIN
|
|
|
|
#undef EAGAIN
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define EAGAIN 11
|
|
|
|
|
|
|
|
#ifdef ENOMEM
|
|
|
|
#undef ENOMEM
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define ENOMEM 12
|
|
|
|
|
|
|
|
#ifdef EINVAL
|
|
|
|
#undef EINVAL
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define EINVAL 22
|
|
|
|
|
|
|
|
#ifdef EPIPE
|
|
|
|
#undef EPIPE
|
2005-12-17 20:14:38 +02:00
|
|
|
#endif
|
2002-07-20 01:23:40 +03:00
|
|
|
#define EPIPE 32
|
|
|
|
|
|
|
|
#endif /* BERRNO_H */
|