summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-02-28 19:52:14 +0200
committerunknown <monty@narttu.mysql.fi>2003-02-28 19:52:14 +0200
commit391bc11a2121919a29a2579639bc476b6c25fa6a (patch)
tree7bc7e7e3fb1f6e61356eab9c19170a9a252fbcf0 /include
parent40fbd0fc790ab29dad2f11c1116cf1fc9d20e54c (diff)
downloadmariadb-git-391bc11a2121919a29a2579639bc476b6c25fa6a.tar.gz
Always include errno.h
include/global.h: Portability fix (Using errno before including errno.h can give big problems on Linux)
Diffstat (limited to 'include')
-rw-r--r--include/global.h1
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)