summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <hery.ramilison@oracle.com>2011-08-16 19:29:06 +0200
committerHery Ramilison <hery.ramilison@oracle.com>2011-08-16 19:29:06 +0200
commitc79b036ed1804bb06073965badf2b2fa18b597c6 (patch)
treed41a7bdc09b31840c719c90b0d10de87ddecef70 /extra
parent7048e02a4a0fda797c9161be28dea55853936aa1 (diff)
downloadmariadb-git-c79b036ed1804bb06073965badf2b2fa18b597c6.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>