Mercurial > hg > xemacs-beta
diff lwlib/lwlib.c @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 538048ae2ab8 |
children | 5a88923fcbfe |
line wrap: on
line diff
--- a/lwlib/lwlib.c Mon Aug 13 09:42:28 2007 +0200 +++ b/lwlib/lwlib.c Mon Aug 13 09:43:35 2007 +0200 @@ -24,11 +24,13 @@ #endif #include <config.h> +#include <stdio.h> #include <stdlib.h> -#include <unistd.h> +#include <string.h> #include <sys/types.h> -#include <string.h> -#include <stdio.h> +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #include <X11/StringDefs.h> #include "lwlib-internal.h" #include "lwlib-utils.h" @@ -1257,11 +1259,11 @@ XtVaGetValues (widget_to_invert, XtNforeground, &foreground, XtNbackground, &background, - 0); + NULL); XtVaSetValues (widget_to_invert, XtNforeground, background, XtNbackground, foreground, - 0); + NULL); } void