[Commits] [SCM] claws branch, master, updated. 3.11.1-4-g5800b5c

mones at claws-mail.org mones at claws-mail.org
Tue Oct 28 17:40:49 CET 2014


The branch, master has been updated
       via  5800b5c77fd0bc8a26f1958635281c9fbd852e42 (commit)
      from  44131ac697f1a55f65cf3916b0ca09ff8d3c1af8 (commit)

Summary of changes:
 src/plugins/mailmbox/maillock.c       |    2 ++
 src/plugins/mailmbox/mailmbox_types.c |    5 +----
 src/plugins/mailmbox/mailmbox_types.h |    9 +++++----
 src/plugins/mailmbox/mmapstring.c     |    2 ++
 4 files changed, 10 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit 5800b5c77fd0bc8a26f1958635281c9fbd852e42
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Oct 28 17:34:28 2014 +0100

    Fix bug #3211 ‘Fails to build in Debian hurd-i386’

diff --git a/src/plugins/mailmbox/maillock.c b/src/plugins/mailmbox/maillock.c
index 8a42787..84e5698 100644
--- a/src/plugins/mailmbox/maillock.c
+++ b/src/plugins/mailmbox/maillock.c
@@ -44,6 +44,8 @@
 #include <time.h>
 #include <string.h>
 
+#include "utils.h"
+
 /* ********************************************************************** */
 
 /* lock primitives */
diff --git a/src/plugins/mailmbox/mailmbox_types.c b/src/plugins/mailmbox/mailmbox_types.c
index 2bddfaf..0605a89 100644
--- a/src/plugins/mailmbox/mailmbox_types.c
+++ b/src/plugins/mailmbox/mailmbox_types.c
@@ -29,11 +29,8 @@
  * SUCH DAMAGE.
  */
 
-/*
- * $Id$
- */
-
 #include "mailmbox_types.h"
+#include "utils.h"
 
 #include <string.h>
 #include <stdlib.h>
diff --git a/src/plugins/mailmbox/mailmbox_types.h b/src/plugins/mailmbox/mailmbox_types.h
index a207809..d782b87 100644
--- a/src/plugins/mailmbox/mailmbox_types.h
+++ b/src/plugins/mailmbox/mailmbox_types.h
@@ -29,10 +29,6 @@
  * SUCH DAMAGE.
  */
 
-/*
- * $Id$
- */
-
 #ifndef MAILMBOX_TYPES_H
 
 #define MAILMBOX_TYPES_H
@@ -44,6 +40,11 @@ extern "C" {
 #include <sys/types.h>
 #include <limits.h>
 
+/* The Hurd doesn't have this limit */
+#ifndef PATH_MAX
+  #define PATH_MAX 4196
+#endif
+
 #include "mailimf.h"
 #include "carray.h"
 #include "chash.h"
diff --git a/src/plugins/mailmbox/mmapstring.c b/src/plugins/mailmbox/mmapstring.c
index 9737fee..d769c77 100644
--- a/src/plugins/mailmbox/mmapstring.c
+++ b/src/plugins/mailmbox/mmapstring.c
@@ -44,6 +44,8 @@
 #include <pthread.h>
 #include <limits.h>
 
+#include "utils.h"
+
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list