Commit 391bc11a authored by unknown's avatar unknown

Always include errno.h


include/global.h:
  Portability fix
  (Using errno before including errno.h can give big problems on Linux)
parent 40fbd0fc
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment