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.
|
|
|
|
--- config.h.in.orig Wed Feb 6 17:29:06 2002
|
|
|
|
|
+++ config.h.in Wed Feb 6 17:29:16 2002
|
|
|
|
|
@@ -238,6 +238,7 @@
|
|
|
|
|
|
|
|
|
|
/* getaddrinfo things */
|
|
|
|
|
#include <netdb.h>
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
|
|
|
|
|
|
#ifndef HAVE_GETADDRINFO
|
|
|
|
|
--- lib/cyrusdb_skiplist.c.orig Thu Feb 28 20:50:36 2002
|
|
|
|
|
+++ lib/cyrusdb_skiplist.c Fri Mar 8 12:28:55 2002
|
|
|
|
|
@@ -170,6 +170,10 @@
|
|
|
|
|
be_paranoid = 0
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
+#ifdef __FreeBSD__
|
|
|
|
|
+#define fdatasync(fd) fsync(fd)
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
#define FSYNC(fd) (do_fsync && fsync(fd))
|
|
|
|
|
#define FDATASYNC(fd) ((do_fsync == 1 && fdatasync(fd)) || \
|
|
|
|
|
(do_fsync == 2 && fsync(fd)))
|