patch-bkhive_c 396 B

12345678910111213141516
  1. $OpenBSD: patch-bkhive_c,v 1.2 2015/05/01 17:40:58 ajacoutot Exp $
  2. --- bkhive.c.orig Thu Oct 2 15:44:47 2008
  3. +++ bkhive.c Thu May 28 23:25:32 2009
  4. @@ -34,7 +34,11 @@
  5. #ifdef BYTE_ORDER
  6. #if BYTE_ORDER == LITTLE_ENDIAN
  7. #elif BYTE_ORDER == BIG_ENDIAN
  8. +#ifndef __OpenBSD__
  9. #include <byteswap.h>
  10. +#else
  11. +#include <endian.h>
  12. +#endif
  13. #else
  14. #warning "Doesn't define a standard ENDIAN type"
  15. #endif