summaryrefslogtreecommitdiff
path: root/uw-imap/0001-Add-missing-headers.patch
blob: 7ba4cbaef2facdfecf756674dec951ed5479df32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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