diff --git a/harbour/ChangeLog b/harbour/ChangeLog index c0bcb58dd5..946c09619d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-05-19 19:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/rtl/arc4.c + ! fixed for watcom/linux and watcom/dos and more [Tamas Tevesz] + 2011-05-19 18:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/valtype.c * contrib/xhb/xhb.hbx diff --git a/harbour/src/rtl/arc4.c b/harbour/src/rtl/arc4.c index e85004bc90..c02ca9ee29 100644 --- a/harbour/src/rtl/arc4.c +++ b/harbour/src/rtl/arc4.c @@ -51,9 +51,8 @@ #include "hbdate.h" #include "hbthread.h" - /* XXX: Check and possibly extend this to other Unix-like platforms */ -#if defined( HB_OS_BSD ) || defined( HB_OS_LINUX ) +#if defined( HB_OS_BSD ) || ( defined( HB_OS_LINUX ) && ! defined ( __WATCOMC__ ) ) # define HAVE_SYS_SYSCTL_H # define HAVE_DECL_CTL_KERN # define HAVE_DECL_KERN_RANDOM @@ -67,9 +66,15 @@ #if defined( HB_OS_WIN ) # include # include +#elif defined( HB_OS_DOS ) || defined( HB_OS_OS2 ) +# include +# include #else -# include +# if ! defined( __WATCOMC__ ) +# include +# endif # include +# include # ifdef HAVE_SYS_SYSCTL_H # include # endif