You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
517B

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