summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-10-02 11:57:40 +0200
committerSergei Golubchik <sergii@pisem.net>2014-10-02 11:57:40 +0200
commitaa36d9e74225f6db32fa01a8e1a2a3a6e6a5b77f (patch)
tree67a18a7571770c9642be560f6316d04f211c2c13 /tests
parent02125587e12b761a6049c6cc5fc6a6c4b6ea7a10 (diff)
downloadmariadb-git-aa36d9e74225f6db32fa01a8e1a2a3a6e6a5b77f.tar.gz
MDEV-5120 Test suite test maria-no-logging fails
stat structure (from <sys/stat.h>) is conditionally defined to have different layout and size depending on the defined macros. The correct macro is defined in my_config.h, which means it MUST be included first (or, at least before <features.h> - so, practically, before including any system headers).
Diffstat (limited to 'tests')
-rw-r--r--tests/async_queries.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/async_queries.c b/tests/async_queries.c
index b9393ca76ab..75229eec4b4 100644
--- a/tests/async_queries.c
+++ b/tests/async_queries.c
@@ -21,16 +21,16 @@
API, and compare to running same queries with the normal blocking API.
*/
-#include <sys/time.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-
#include <my_global.h>
#include <my_sys.h>
#include <mysql.h>
#include <my_getopt.h>
+#include <sys/time.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
#include <event.h>