summaryrefslogtreecommitdiff
path: root/imap/src/mlock
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/mlock')
-rw-r--r--imap/src/mlock/mlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/mlock/mlock.c b/imap/src/mlock/mlock.c
index 1dca40ed..35d6be4d 100644
--- a/imap/src/mlock/mlock.c
+++ b/imap/src/mlock/mlock.c
@@ -32,6 +32,7 @@
#include <sysexits.h>
#include <syslog.h>
#include <grp.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.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