summaryrefslogtreecommitdiff
path: root/uw-imap/0001-Add-missing-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'uw-imap/0001-Add-missing-headers.patch')
-rw-r--r--uw-imap/0001-Add-missing-headers.patch58
1 files changed, 58 insertions, 0 deletions
diff --git a/uw-imap/0001-Add-missing-headers.patch b/uw-imap/0001-Add-missing-headers.patch
new file mode 100644
index 0000000..7ba4cba
--- /dev/null
+++ b/uw-imap/0001-Add-missing-headers.patch
@@ -0,0 +1,58 @@
+From 5bd4a19408ebeba2f9baac7edaee1df2ae3f332f Mon Sep 17 00:00:00 2001
+From: John Vogel <jvogel@stygian.me>
+Date: Fri, 29 Nov 2024 02:48:15 -0500
+Subject: [PATCH] Add missing headers
+
+---
+ src/dmail/dmail.c | 1 +
+ src/mlock/mlock.c | 2 ++
+ src/tmail/tmail.c | 1 +
+ 3 files changed, 4 insertions(+)
+
+diff --git a/src/dmail/dmail.c b/src/dmail/dmail.c
+index f78b957..18f54ee 100644
+--- a/src/dmail/dmail.c
++++ b/src/dmail/dmail.c
+@@ -33,6 +33,7 @@ extern int errno; /* just in case */
+ #include <sysexits.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
++#include <ctype.h>
+ #include "c-client.h"
+ #include "dquota.h"
+
+diff --git a/src/mlock/mlock.c b/src/mlock/mlock.c
+index 1dca40e..7e15a64 100644
+--- a/src/mlock/mlock.c
++++ b/src/mlock/mlock.c
+@@ -27,6 +27,7 @@
+ */
+
+ #include <errno.h>
++#include <unistd.h>
+ #include <fcntl.h>
+ #include <stdio.h>
+ #include <sysexits.h>
+@@ -40,6 +41,7 @@
+ #include <netdb.h>
+ #include <ctype.h>
+ #include <string.h>
++#include <time.h>
+
+ #define LOCKTIMEOUT 5 /* lock timeout in minutes */
+ #define LOCKPROTECTION 0664
+diff --git a/src/tmail/tmail.c b/src/tmail/tmail.c
+index ed5fc58..c833646 100644
+--- a/src/tmail/tmail.c
++++ b/src/tmail/tmail.c
+@@ -33,6 +33,7 @@ extern int errno; /* just in case */
+ #include <sysexits.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
++#include <ctype.h>
+ #include "c-client.h"
+ #include "tquota.h"
+
+--
+2.47.0
+