summaryrefslogtreecommitdiff
path: root/plugin/handler_socket
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 /plugin/handler_socket
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 'plugin/handler_socket')
-rw-r--r--plugin/handler_socket/handlersocket/database.cpp2
-rw-r--r--plugin/handler_socket/handlersocket/handlersocket.cpp2
-rw-r--r--plugin/handler_socket/handlersocket/hstcpsvr.cpp2
-rw-r--r--plugin/handler_socket/libhsclient/hstcpcli.cpp2
-rw-r--r--plugin/handler_socket/libhsclient/socket.cpp2
5 files changed, 10 insertions, 0 deletions
diff --git a/plugin/handler_socket/handlersocket/database.cpp b/plugin/handler_socket/handlersocket/database.cpp
index 311eec55fa8..da55113a179 100644
--- a/plugin/handler_socket/handlersocket/database.cpp
+++ b/plugin/handler_socket/handlersocket/database.cpp
@@ -6,6 +6,8 @@
* See COPYRIGHT.txt for details.
*/
+#include <my_config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/plugin/handler_socket/handlersocket/handlersocket.cpp b/plugin/handler_socket/handlersocket/handlersocket.cpp
index 2595d24a85c..6e4c03fcc24 100644
--- a/plugin/handler_socket/handlersocket/handlersocket.cpp
+++ b/plugin/handler_socket/handlersocket/handlersocket.cpp
@@ -6,6 +6,8 @@
* See COPYRIGHT.txt for details.
*/
+#include <my_config.h>
+
#include <memory>
#include <string>
#include <stdio.h>
diff --git a/plugin/handler_socket/handlersocket/hstcpsvr.cpp b/plugin/handler_socket/handlersocket/hstcpsvr.cpp
index 13df7ba0838..925020023bc 100644
--- a/plugin/handler_socket/handlersocket/hstcpsvr.cpp
+++ b/plugin/handler_socket/handlersocket/hstcpsvr.cpp
@@ -6,6 +6,8 @@
* See COPYRIGHT.txt for details.
*/
+#include <my_config.h>
+
#include <stdlib.h>
#include <vector>
#include <sys/types.h>
diff --git a/plugin/handler_socket/libhsclient/hstcpcli.cpp b/plugin/handler_socket/libhsclient/hstcpcli.cpp
index c0cb5fb1e97..21c964cb046 100644
--- a/plugin/handler_socket/libhsclient/hstcpcli.cpp
+++ b/plugin/handler_socket/libhsclient/hstcpcli.cpp
@@ -6,6 +6,8 @@
* See COPYRIGHT.txt for details.
*/
+#include <my_config.h>
+
#include <stdexcept>
#include "hstcpcli.hpp"
diff --git a/plugin/handler_socket/libhsclient/socket.cpp b/plugin/handler_socket/libhsclient/socket.cpp
index 0c4816589fa..cf19d4bbe14 100644
--- a/plugin/handler_socket/libhsclient/socket.cpp
+++ b/plugin/handler_socket/libhsclient/socket.cpp
@@ -6,6 +6,8 @@
* See COPYRIGHT.txt for details.
*/
+#include <my_config.h>
+
#include <stdexcept>
#include <string.h>
#include <errno.h>