Re: [PATCH vd_agent_linux 5/7] Do not include config.h in headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Assuming that you've tested that it compiles

Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>


On Thu, 2019-01-03 at 10:02 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  src/vdagent/x11-priv.h  | 4 ----
>  src/vdagent/x11-randr.c | 1 +
>  src/vdagent/x11.h       | 4 ----
>  3 files changed, 1 insertion(+), 8 deletions(-)
> 
> diff --git a/src/vdagent/x11-priv.h b/src/vdagent/x11-priv.h
> index e7c64bd..b31b0a5 100644
> --- a/src/vdagent/x11-priv.h
> +++ b/src/vdagent/x11-priv.h
> @@ -1,10 +1,6 @@
>  #ifndef VDAGENT_X11_PRIV
>  #define VDAGENT_X11_PRIV
>  
> -#ifdef HAVE_CONFIG_H
> -# include <config.h>
> -#endif
> -
>  #include <stdint.h>
>  #include <stdio.h>
>  
> diff --git a/src/vdagent/x11-randr.c b/src/vdagent/x11-randr.c
> index e461ce1..3d7884e 100644
> --- a/src/vdagent/x11-randr.c
> +++ b/src/vdagent/x11-randr.c
> @@ -21,6 +21,7 @@
>      along with this program.  If not, see <
> http://www.gnu.org/licenses/>.
>  */
>  
> +#include <config.h>
>  #include <glib.h>
>  #include <glib/gstdio.h>
>  #include <string.h>
> diff --git a/src/vdagent/x11.h b/src/vdagent/x11.h
> index 1505f58..2117abf 100644
> --- a/src/vdagent/x11.h
> +++ b/src/vdagent/x11.h
> @@ -22,10 +22,6 @@
>  #ifndef __VDAGENT_X11_H
>  #define __VDAGENT_X11_H
>  
> -#ifdef HAVE_CONFIG_H
> -# include <config.h>
> -#endif
> -
>  #include <stdio.h>
>  #include <spice/vd_agent.h>
>  #include "udscs.h"

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]