Portable build framework for OpenNTPD
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.

26 lines
437 B

  1. /*
  2. * Public domain
  3. * sys/types.h compatibility shim
  4. */
  5. #include_next <sys/types.h>
  6. #ifndef LIBCRYPTOCOMPAT_SYS_TYPES_H
  7. #define LIBCRYPTOCOMPAT_SYS_TYPES_H
  8. #include <db.h>
  9. #include <stdint.h>
  10. #ifdef __MINGW32__
  11. #include <_bsd_types.h>
  12. #endif
  13. #if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
  14. #define __dead
  15. #endif
  16. #if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
  17. # define __bounded__(x, y, z)
  18. #endif
  19. #endif