Always include errno.h

include/global.h:
  Portability fix
  (Using errno before including errno.h can give big problems on Linux)
This commit is contained in:
unknown 2003-02-28 19:52:14 +02:00
parent 40fbd0fc79
commit 391bc11a21

View File

@ -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)