summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2018-10-04 17:56:59 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2018-10-08 17:18:12 +0200
commitb9dca950fbc6bc9014ce7d43dd0b80517e8d05f5 (patch)
tree94771a5b27d94bc989b815e9ce5864387857dc67
parent7d16536672a5f2a0f61c6b4279d45b509e957dfb (diff)
Remove config.h from header files
This should only be included from c files. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
-rw-r--r--common/client_marshallers.h4
-rw-r--r--common/mem.h4
-rw-r--r--common/messages.h4
3 files changed, 0 insertions, 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 <spice/protocol.h>
#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 <stdlib.h>
#include <spice/macros.h>
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#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 <spice/protocol.h>
#include <spice/macros.h>