From b9dca950fbc6bc9014ce7d43dd0b80517e8d05f5 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 4 Oct 2018 17:56:59 +0200 Subject: [PATCH] Remove config.h from header files This should only be included from c files. Signed-off-by: Christophe Fergeau Acked-by: Eduardo Lima (Etrunko) --- common/client_marshallers.h | 4 ---- common/mem.h | 4 ---- common/messages.h | 4 ---- 3 files changed, 12 deletions(-) diff --git a/common/client_marshallers.h b/common/client_marshallers.h index 919e889..912494b 100644 --- a/common/client_marshallers.h +++ b/common/client_marshallers.h @@ -19,10 +19,6 @@ #ifndef _H_MARSHALLERS #define _H_MARSHALLERS -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include #include "common/generated_client_marshallers.h" diff --git a/common/mem.h b/common/mem.h index 1c7cfa3..68e024a 100644 --- a/common/mem.h +++ b/common/mem.h @@ -23,10 +23,6 @@ #include #include -#ifdef HAVE_CONFIG_H -# include -#endif - SPICE_BEGIN_DECLS #ifdef STDC_HEADERS diff --git a/common/messages.h b/common/messages.h index 55de76e..14d5c64 100644 --- a/common/messages.h +++ b/common/messages.h @@ -31,10 +31,6 @@ #ifndef _H_MESSAGES #define _H_MESSAGES -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include #include