From e720cb988a3a46ab8898b03e2b955f5ab61ab4cd Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Sun, 18 May 2014 01:53:30 +0000 Subject: - Fix build on 8.x [1] - Change license to BSD3CLAUSE - Stageify PR: 189895 [1] Submitted by: plosher [1] Sponsored by: DK Hostmaster A/S --- mail/dma/files/extrapatch-8-spool.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mail/dma/files/extrapatch-8-spool.c (limited to 'mail/dma/files/extrapatch-8-spool.c') diff --git a/mail/dma/files/extrapatch-8-spool.c b/mail/dma/files/extrapatch-8-spool.c new file mode 100644 index 000000000000..99ec78847572 --- /dev/null +++ b/mail/dma/files/extrapatch-8-spool.c @@ -0,0 +1,19 @@ +--- spool.c 2013-06-03 14:03:15.000000000 +0000 ++++ spool.c.8 2014-05-17 18:14:45.000000000 +0000 +@@ -36,6 +36,7 @@ + + #include + #include ++#include + + #include + #include +@@ -415,7 +416,7 @@ + return (0); + + /* Did the flush file get touched within the last period seconds? */ +- if (st.st_mtim.tv_sec + period >= now.tv_sec) ++ if (st.st_mtime + (int)period >= now.tv_sec) + return (1); + else + return (0); -- cgit v1.2.3