From f7d16bce0c9a235ea66163dcb2aadebe3e0b98f8 Mon Sep 17 00:00:00 2001
From: Alexander von Gluck IV <kallisti5@unixzen.com>
Date: Sat, 25 Nov 2017 10:15:05 -0600
Subject: [PATCH] haiku: Add missing lutimes

* BeOS traditionally didn't have lutimes, however to make Haiku
  more compatible and easier to port for, we added an implementation
  of it.
---
 src/unix/haiku/mod.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs
index ebb20720..01ad1e12 100644
--- a/src/unix/haiku/mod.rs
+++ b/src/unix/haiku/mod.rs
@@ -1112,6 +1112,7 @@ extern {
                     addrlen: *mut ::socklen_t) -> ::ssize_t;
     pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int;
     pub fn futimes(fd: ::c_int, times: *const ::timeval) -> ::c_int;
+    pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
     pub fn nl_langinfo(item: ::nl_item) -> *mut ::c_char;
 
     pub fn bind(socket: ::c_int, address: *const ::sockaddr,
-- 
GitLab