Commit 391bc11a authored by unknown's avatar unknown
Browse files

Always include errno.h


include/global.h:
  Portability fix
  (Using errno before including errno.h can give big problems on Linux)
parent 40fbd0fc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)