summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar BALATON Zoltan2015-09-23 02:11:54 +0200
committerGravatar BALATON Zoltan2016-04-01 22:53:13 +0200
commit35b0543ec2a54250be011a9ffdd1d70f2c1ced5c (patch)
tree1a84fd6ae1ee31908e33eab829cb5b4e2ec3b48a /common
parentdf1f5c4d70d0c19ad40072f5246ca457e7f9849e (diff)
downloadlibimobiledevice-35b0543ec2a54250be011a9ffdd1d70f2c1ced5c.tar.gz
libimobiledevice-35b0543ec2a54250be011a9ffdd1d70f2c1ced5c.tar.bz2
idevicebackup: fix some timestamps that are relative to the Mac epoch instead of Unix one
Diffstat (limited to 'common')
-rw-r--r--common/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/utils.h b/common/utils.h
index 90cfa4a..8426bc0 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -33,6 +33,8 @@
#include <stdio.h>
#include <plist/plist.h>
+#define MAC_EPOCH 978307200
+
#ifndef HAVE_STPCPY
char *stpcpy(char *s1, const char *s2);
#endif