2002-07-20 00:23:40 +02:00
|
|
|
#ifndef BERRNO_H
|
|
|
|
#define BERRNO_H
|
|
|
|
|
|
|
|
#include <Errors.h>
|
|
|
|
|
2002-07-20 22:05:50 +02:00
|
|
|
// mmu_man: this is needed for http.c (defined errno)
|
|
|
|
#include <errno.h>
|
|
|
|
|
2002-07-20 00:23:40 +02:00
|
|
|
#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 */
|