123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- --- mysql-5.1.48.orig/include/my_global.h 2010-06-03 17:50:27.000000000 +0200
- +++ mysql-5.1.48/include/my_global.h 2010-07-12 22:51:23.369609493 +0200
- @@ -18,6 +18,8 @@
- #ifndef _global_h
- #define _global_h
-
- +#include <sys/param.h>
- +
-
- #endif
-
- @@ -458,15 +460,20 @@ C_MODE_END
- #undef HAVE_ALLOCA
- #undef HAVE_ALLOCA_H
- #endif
- -#ifdef HAVE_ALLOCA_H
- +#if defined(HAVE_ALLOCA_H) && !defined(BSD)
- #include <alloca.h>
- #endif
-
- #include <errno.h> /* Recommended by debian */
-
- +#ifdef BSD
- +#include <pwd.h>
- +#include <unistd.h>
- +#else
- #if defined(HAVE_CRYPT_H)
- #include <crypt.h>
- #endif
- +#endif
-
-
- #endif
-
- +
-
- #ifdef HAVE_ISINF
-
|