Failures on non-C99 compilers.

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Fri Jun 11 22:10:30 CEST 2004


Josh Howard wrote:
> Hello there,

Hello Josh,

> In addition, there's an issue with compiling
> xfce4-session/xfce4-session/xfsm-shutdown-helper.c due to resource.h
> requiring time.h I put this little patch together in order to get it
> to compile, but I'm not sure what sort of issues this would cause on
> non-FreeBSD platforms:
> 
> diff -u -r1.2 xfsm-shutdown-helper.c
> --- xfce4-session/xfce4-session/xfsm-shutdown-helper.c  21 May 2004
> 20:06:33 -0000      1.2
> +++ xfce4-session/xfce4-session/xfsm-shutdown-helper.c  8 Jun 2004
> 20:46:30 -0000
> @@ -27,6 +27,9 @@
>  #include <sys/types.h>
>  #endif
>  #ifdef HAVE_SYS_RESOURCE_H
> +#ifdef HAVE_SYS_TIME_H
> +#include <sys/time.h>
> +#endif
>  #include <sys/resource.h>
>  #endif

Committed, thanks.

regards,
Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/
os-cillation:                             http://www.os-cillation.de/

OpenPGP Key: http://www.home.unix-ag.org/bmeurer/#gpg




More information about the Xfce4-dev mailing list