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