patch-xstream_h 425 B

12345678910111213141516
  1. $OpenBSD: patch-xstream_h,v 1.1 2011/05/30 11:04:14 shadchin Exp $
  2. --- xstream.h.orig Tue Jul 7 06:06:06 2009
  3. +++ xstream.h Sun Feb 7 21:54:07 2010
  4. @@ -38,6 +38,11 @@ extern "C" off_t ftello(FILE *);
  5. #define xdr_u_longlong_t xdr_uint64_t
  6. #endif
  7. +#ifdef __OpenBSD__
  8. +#define xdr_longlong_t xdr_int64_t
  9. +#define xdr_u_longlong_t xdr_u_int64_t
  10. +#endif
  11. +
  12. #ifdef _POSIX_SOURCE
  13. #undef _POSIX_SOURCE
  14. #include <rpc/rpc.h>