diff options
author | unknown <monty@narttu.mysql.fi> | 2003-02-28 19:52:14 +0200 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-02-28 19:52:14 +0200 |
commit | 366a54ad686c0846e326865ce4d349d94752bd71 (patch) | |
tree | 7bc7e7e3fb1f6e61356eab9c19170a9a252fbcf0 | |
parent | b4e886a317a17e36766327be20ccb2c8aa7cb5a1 (diff) | |
download | mariadb-git-366a54ad686c0846e326865ce4d349d94752bd71.tar.gz |
Always include errno.h
include/global.h:
Portability fix
(Using errno before including errno.h can give big problems on Linux)
-rw-r--r-- | include/global.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h index 988797b330c..1737c60db30 100644 --- a/include/global.h +++ b/include/global.h @@ -223,6 +223,7 @@ double my_ulonglong2double(unsigned long long A); #define CONFIG_SMP #include <asm/atomic.h> #endif +#include <errno.h> /* Recommended by debian */ /* Go around some bugs in different OS and compilers */ #if defined(_HPUX_SOURCE) && defined(HAVE_SYS_STREAM_H) |