summaryrefslogtreecommitdiff
path: root/uts/debian/patches/add-futimes.patch
blob: e59093d8c9abca25c5b008cff779ed7657aa5939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: uts/usr/src/uts/common/sys/time.h
===================================================================
--- uts.orig/usr/src/uts/common/sys/time.h
+++ uts/usr/src/uts/common/sys/time.h
@@ -399,6 +399,11 @@ int setitimer(int, struct itimerval *_RE
 
 #endif /* !defined(_KERNEL) ... defined(_XPG4_2) */
 
+#if !defined(_KERNEL) && (defined(_BSD_SOURCE) || defined(__EXTENSIONS__))
+int futimes(int, const struct timeval *);
+int lutimes(const char *, const struct timeval *);
+#endif
+
 /*
  * gettimeofday() and settimeofday() were included in SVr4 due to their
  * common use in BSD based applications.  They were to be included exactly