[PATCH:xmodmap] Properly hide config.h behind HAVE_CONFIG_H.

Alan Coopersmith alan.coopersmith at oracle.com
Mon Jul 20 08:46:27 PDT 2015


On 07/20/15 01:23 AM, Thomas Klausner wrote:
> From: Matthew Green <mrg at NetBSD.org>
>
> Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
> ---
>   handle.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/handle.c b/handle.c
> index 00c95a6..02a5f41 100644
> --- a/handle.c
> +++ b/handle.c
> @@ -26,7 +26,10 @@ from The Open Group.
>
>   */
>
> +#ifdef HAVE_CONFIG_H
>   #include "config.h"
> +#endif
> +
>   #include <X11/Xos.h>
>   #include <X11/Xlib.h>
>   #include <stdio.h>
>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list