Jakub Dorňák 6aba9be
--- mariadb-10.0.10/include/my_sys.h.p1	2014-03-30 19:56:37.000000000 +0200
Jakub Dorňák 6aba9be
+++ mariadb-10.0.10/include/my_sys.h	2014-04-07 15:30:20.627060157 +0200
Jakub Dorňák 6aba9be
@@ -209,13 +209,7 @@ extern void my_large_free(uchar *ptr);
Jakub Dorňák 6aba9be
 #define my_safe_afree(ptr, size, max_alloca_sz) my_afree(ptr)
Jakub Dorňák 6aba9be
 #endif /* HAVE_ALLOCA */
9c7c797
 
9c7c797
-#ifndef errno				/* did we already get it? */
9c7c797
-#ifdef HAVE_ERRNO_AS_DEFINE
5df5e51
-#include <errno.h>			/* errno is a define */
9c7c797
-#else
9c7c797
-extern int errno;			/* declare errno */
9c7c797
-#endif
9c7c797
-#endif					/* #ifndef errno */
Jakub Dorňák 6aba9be
+#include <errno.h>				/* errno is a define */
9c7c797
 extern char *home_dir;			/* Home directory for user */
5df5e51
 extern MYSQL_PLUGIN_IMPORT char  *mysql_data_home;
9c7c797
 extern const char *my_progname;		/* program-name (printed in errors) */