diff options
author | jilles <jilles@FreeBSD.org> | 2015-04-25 21:25:00 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2015-04-25 21:25:00 +0000 |
commit | de49498dd4d45c9bf9ad674fdda1c74a68c65eca (patch) | |
tree | 9c3db784e73bcaa04b260258608f7369bce55b1a /lib | |
parent | da942000438a1a4250568bd4813a9aa61a75bc1b (diff) | |
download | FreeBSD-src-de49498dd4d45c9bf9ad674fdda1c74a68c65eca.zip FreeBSD-src-de49498dd4d45c9bf9ad674fdda1c74a68c65eca.tar.gz |
libarchive: Allow setting nanosecond timestamps.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarchive/config_freebsd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libarchive/config_freebsd.h b/lib/libarchive/config_freebsd.h index 0df3f91..fbf429f 100644 --- a/lib/libarchive/config_freebsd.h +++ b/lib/libarchive/config_freebsd.h @@ -25,6 +25,8 @@ * $FreeBSD$ */ +#include <osreldate.h> + /* FreeBSD 5.0 and later have ACL and extattr support. */ #if __FreeBSD__ > 4 #define HAVE_ACL_CREATE_ENTRY 1 @@ -220,6 +222,11 @@ #define HAVE_ZLIB_H 1 #define TIME_WITH_SYS_TIME 1 +#if __FreeBSD_version >= 1100056 +#define HAVE_FUTIMENS 1 +#define HAVE_UTIMENSAT 1 +#endif + /* FreeBSD 4 and earlier lack intmax_t/uintmax_t */ #if __FreeBSD__ < 5 #define intmax_t int64_t |