hpux_bogons.h 450 B

1234567891011121314151617181920212223
  1. #ifndef VSF_HPUX_BOGONS_H
  2. #define VSF_HPUX_BOGONS_H
  3. #include <sys/mman.h>
  4. /* HP-UX has MAP_ANONYMOUS but not MAP_ANON - I'm not sure which is more
  5. * standard!
  6. */
  7. #ifdef MAP_ANONYMOUS
  8. #ifndef MAP_ANON
  9. #define MAP_ANON MAP_ANONYMOUS
  10. #endif
  11. #endif
  12. /* Ancient versions of HP-UX don't have MAP_FAILED */
  13. #ifndef MAP_FAILED
  14. #define MAP_FAILED (void *) -1L
  15. #endif
  16. /* Need dirfd() */
  17. #include "dirfd_extras.h"
  18. #endif /* VSF_HPUX_BOGONS_H */