From 0fe2e9f9bcd47e8d0cec869bc4793ec20a32b92e Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Sat, 15 Dec 2001 08:46:43 +0000 Subject: [PATCH] some minor fixes --- harbour/source/vm/dynlibhb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/harbour/source/vm/dynlibhb.c b/harbour/source/vm/dynlibhb.c index 6ba6f5f477..dbb3c60499 100644 --- a/harbour/source/vm/dynlibhb.c +++ b/harbour/source/vm/dynlibhb.c @@ -58,13 +58,15 @@ #define HB_OS_WIN_32_USED #include "hbapi.h" +#include "hbstack.h" +#include "hbvm.h" HB_FUNC( LIBLOAD ) { #if defined(HB_OS_WIN_32) { - hb_retnl( LoadLibrary( hb_parc( 1 ) ) ); + hb_retnl( ( long ) LoadLibrary( hb_parc( 1 ) ) ); } #endif