2015-10-22 19:51:01 +00:00
|
|
|
diff -rup mariadb-10.1.8.orig/include/my_sys.h mariadb-10.1.8/include/my_sys.h
|
|
|
|
--- mariadb-10.1.8.orig/include/my_sys.h 2015-10-15 17:43:37.000000000 +0200
|
|
|
|
+++ mariadb-10.1.8/include/my_sys.h 2015-10-21 15:48:00.948590204 +0200
|
|
|
|
@@ -218,13 +218,7 @@ extern void my_large_free(uchar *ptr);
|
|
|
|
#define my_safe_afree(ptr, size) my_afree(ptr)
|
2014-04-07 19:07:33 +00:00
|
|
|
#endif /* HAVE_ALLOCA */
|
2013-01-10 17:35:12 +00:00
|
|
|
|
|
|
|
-#ifndef errno /* did we already get it? */
|
|
|
|
-#ifdef HAVE_ERRNO_AS_DEFINE
|
2013-10-11 07:58:06 +00:00
|
|
|
-#include <errno.h> /* errno is a define */
|
2013-01-10 17:35:12 +00:00
|
|
|
-#else
|
|
|
|
-extern int errno; /* declare errno */
|
|
|
|
-#endif
|
|
|
|
-#endif /* #ifndef errno */
|
2014-04-07 19:07:33 +00:00
|
|
|
+#include <errno.h> /* errno is a define */
|
2013-01-10 17:35:12 +00:00
|
|
|
extern char *home_dir; /* Home directory for user */
|
2013-10-11 07:58:06 +00:00
|
|
|
extern MYSQL_PLUGIN_IMPORT char *mysql_data_home;
|
2013-01-10 17:35:12 +00:00
|
|
|
extern const char *my_progname; /* program-name (printed in errors) */
|