imapd.patch 632 B

1234567891011121314151617181920212223242526
  1. --- lib/cyrusdb_skiplist.c.orig Tue Apr 23 20:25:48 2002
  2. +++ lib/cyrusdb_skiplist.c Wed May 8 13:49:23 2002
  3. @@ -71,6 +71,11 @@
  4. #define PROB (0.5)
  5. +#ifdef __FreeBSD__
  6. +/* #define fdatasync(fd) fsync(fd) */
  7. +#define O_DSYNC 0
  8. +#endif
  9. +
  10. /*
  11. *
  12. * disk format; all numbers in network byte order
  13. --- et/com_err.c.dist Tue Jun 17 08:38:32 2003
  14. +++ et/com_err.c Tue Jun 17 08:38:46 2003
  15. @@ -50,7 +50,7 @@
  16. #include <string.h>
  17. #include "mit-sipb-copyright.h"
  18. -#if defined(HAVE_STDARG_H) || defined(_WINDOWS)
  19. +#if defined(HAVE_STDARG_H) || defined(__STDC__) || defined(_WINDOWS)
  20. #include <stdarg.h>
  21. #else
  22. #include <varargs.h>