Hi,

On Fri, Aug 31, 2007 at 03:33:43PM +0900, Keisuke MORI wrote:
> Dejan,
> 
> The latest -dev tree(a47dd11d40ef) can not be build on RedHat
> with the following error:
> 
> raexecocf.c: In function `get_resource_meta':
> raexecocf.c:325: warning: implicit declaration of function `nanosleep'
> 
> This seems coming from your changeset b591600fbc15.
> The attached patch would be needed along with the changeset.

Thanks for the patch!

Cheers,

Dejan

> 
> Thanks,
> -- 
> Keisuke MORI
> NTT DATA Intellilink Corporation
> 

> diff -r a47dd11d40ef lib/plugins/lrm/raexecocf.c
> --- a/lib/plugins/lrm/raexecocf.c     Thu Aug 30 22:54:48 2007 +0200
> +++ b/lib/plugins/lrm/raexecocf.c     Fri Aug 31 15:25:09 2007 +0900
> @@ -37,6 +37,9 @@
>  #include <pils/plugin.h>
>  #include <dirent.h>
>  #include <libgen.h>  /* Add it for compiling on OSX */
> +#ifdef HAVE_TIME_H
> +#include <time.h>
> +#endif
>  
>  #include <lrm/raexec.h>
>  

> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to