Hi all,
In serf src .\buckets\mmap_buckets.c :

it needs something like :

@@ -16,6 +16,8 @@
 #include <apr_pools.h>
 #include <apr_mmap.h>

+#if APR_HAS_MMAP
+
 #include "serf.h"
 #include "serf_bucket_util.h"

@@ -119,3 +121,6 @@
     serf_default_restore_snapshot,
     serf_default_is_snapshot_set,
 };
+
+#endif /* APR_HAS_MMAP */
+

as not all (ahem) OS support mmap, as suggested by APR define.

Regards,
Norm

Reply via email to