diff options
author | Michael Widenius <monty@askmonty.org> | 2011-06-09 11:13:03 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-06-09 11:13:03 +0300 |
commit | 163d7acc9ff619c1a0f6da01abb5cf7cc11483f2 (patch) | |
tree | 0306fa4f2470eece57e43917cc9abb2f93e77192 /plugin/handler_socket/handlersocket | |
parent | 8d7f81089444e20526685b3ffe36b72d5ecdc157 (diff) | |
download | mariadb-git-163d7acc9ff619c1a0f6da01abb5cf7cc11483f2.tar.gz |
Fixed build failure on OpenSolaris
strings/ctype-simple.c:
Fixed some compiler warnings
Diffstat (limited to 'plugin/handler_socket/handlersocket')
-rw-r--r-- | plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp b/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp index 653c608340e..fa42f2b0914 100644 --- a/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp +++ b/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp @@ -6,6 +6,7 @@ * See COPYRIGHT.txt for details. */ +#include <my_config.h> #include <netinet/in.h> #include <errno.h> #include <poll.h> @@ -17,6 +18,9 @@ #if __linux__ #include <sys/epoll.h> #endif +#ifdef HAVE_ALLOCA_H +#include <alloca.h> +#endif #include "hstcpsvr_worker.hpp" #include "string_buffer.hpp" |