2022-01-30 05:00:42 +01:00
|
|
|
$NetBSD: patch-bi,v 1.2 2022/01/30 04:00:42 gutteridge Exp $
|
2022-01-24 23:21:58 +01:00
|
|
|
|
2022-01-30 05:00:42 +01:00
|
|
|
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 @@
|
2022-01-24 23:21:58 +01:00
|
|
|
#include "ftl.h"
|
|
|
|
#include "nl.h"
|
|
|
|
#include "tcp.h"
|
|
|
|
+
|
|
|
|
+#define utime portable_utime
|
2022-01-30 05:00:42 +01:00
|
|
|
+int portable_utime (char *file,time_t timep[2]);
|