aboutsummaryrefslogtreecommitdiffstats
path: root/security/aide/files/patch-include__aide.h
blob: 223b13ec8e7f22b3e4b3d60da62cb01f23dcee1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: include/aide.h
diff -u include/aide.h.orig include/aide.h
--- include/aide.h.orig 2010-08-09 02:39:31.000000000 +0900
+++ include/aide.h  2012-10-30 02:24:36.845508733 +0900
@@ -68,7 +68,7 @@
 # define HAVE_STRTOIMAX
 #endif
 
-#if SIZEOF_OFF64_T == SIZEOF_LONG_LONG
+#if AIDE_OFF_TYPE == off64_t && SIZEOF_OFF64_T == SIZEOF_LONG_LONG || AIDE_OFF_TYPE == off_t && SIZEOF_OFF_T == SIZEOF_LONG_LONG
 # ifdef HAVE_STRTOLL
 #  define AIDE_STRTOLL_FUNC strtoll
 # else