mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
move alloca() definition from all *.h files to one new header file
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* See COPYRIGHT.txt for details.
|
||||
*/
|
||||
|
||||
#include <my_global.h>
|
||||
#include <my_alloca.h>
|
||||
#include <netinet/in.h>
|
||||
#include <errno.h>
|
||||
#include <poll.h>
|
||||
@ -17,9 +17,6 @@
|
||||
#if __linux__
|
||||
#include <sys/epoll.h>
|
||||
#endif
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include "hstcpsvr_worker.hpp"
|
||||
#include "string_buffer.hpp"
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <my_alloca.h>
|
||||
|
||||
#if 0
|
||||
extern "C" {
|
||||
|
Reference in New Issue
Block a user