alpine/adhere-to-prototypes.diff

12 lines
365 B
Diff

--- alpine-0.999/imap/src/mlock/mlock.c 2006-08-31 02:21:48.000000000 +0000
+++ alpine-0.999.fixed/imap/src/mlock/mlock.c 2007-07-31 23:30:08.000000000 +0000
@@ -40,6 +40,8 @@
#include <netdb.h>
#include <ctype.h>
#include <strings.h>
+#include <string.h>
+#include <unistd.h>
#define LOCKTIMEOUT 5 /* lock timeout in minutes */
#define LOCKPROTECTION 0775