Skip to content

Commit

Permalink
libarchive: Allow setting nanosecond timestamps.
Browse files Browse the repository at this point in the history
  • Loading branch information
jillest committed Apr 25, 2015
1 parent 57f7026 commit 9779236
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/libarchive/config_freebsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9779236

Please sign in to comment.