pkgsrc/mail/imap-uw/patches/patch-bi

22 lines
482 B
Text
Raw Normal View History

$NetBSD: patch-bi,v 1.2 2022/01/30 04:00:42 gutteridge Exp $
Enable use of portable_utime() on BSDs.
--- src/osdep/unix/os_bsi.h.orig 2011-07-23 00:20:11.000000000 +0000
+++ src/osdep/unix/os_bsi.h
@@ -34,6 +34,7 @@
#include <fcntl.h>
#include <syslog.h>
#include <sys/file.h>
+#include <utime.h>
#include "env_unix.h"
@@ -41,3 +42,6 @@
#include "ftl.h"
#include "nl.h"
#include "tcp.h"
+
+#define utime portable_utime
+int portable_utime (char *file,time_t timep[2]);