summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorhery.ramilison@oracle.com <>2011-08-16 19:29:06 +0200
committerHery Ramilison <hery.ramilison@oracle.com>2011-08-16 19:29:06 +0200
commitb478888aec532c5040c18d15bc27f0bf2c7884ad (patch)
treed41a7bdc09b31840c719c90b0d10de87ddecef70 /extra
parent72daf267dfba221caafbe3ace0cf36587a2d9b27 (diff)
downloadmariadb-git-b478888aec532c5040c18d15bc27f0bf2c7884ad.tar.gz
fix for bug 55713 innochecksum is NOT built with large file support enabled
Diffstat (limited to 'extra')
-rw-r--r--extra/innochecksum.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/extra/innochecksum.c b/extra/innochecksum.c
index 7ad900d16d3..f066cab2b3a 100644
--- a/extra/innochecksum.c
+++ b/extra/innochecksum.c
@@ -25,12 +25,7 @@
Published with a permission.
*/
-/* needed to have access to 64 bit file functions */
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
-
-#define _XOPEN_SOURCE 500 /* needed to include getopt.h on some platforms. */
-
+#include <my_global.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>