[libsoup] Include config.h if needed in the files that do not include it yet



commit b61dcb1303b1f5a6d6608f263353a0cfc64ed214
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Nov 3 10:52:18 2015 +0100

    Include config.h if needed in the files that do not include it yet
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757146

 libsoup/soup-headers.c           |    4 ++++
 libsoup/soup-message-body.c      |    4 ++++
 libsoup/soup-message-headers.c   |    4 ++++
 libsoup/soup-message.c           |    4 ++++
 libsoup/soup-misc.c              |    4 ++++
 libsoup/soup-multipart.c         |    4 ++++
 libsoup/soup-path-map.c          |    4 ++++
 libsoup/soup-socket-properties.c |    4 ++++
 libsoup/soup-uri.c               |    4 ++++
 9 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
index 9c4c808..21e78d6 100644
--- a/libsoup/soup-headers.c
+++ b/libsoup/soup-headers.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2001-2003, Ximian, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 
diff --git a/libsoup/soup-message-body.c b/libsoup/soup-message-body.c
index 006ecea..50428eb 100644
--- a/libsoup/soup-message-body.c
+++ b/libsoup/soup-message-body.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2000-2003, Ximian, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include "soup-message-body.h"
diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
index f850926..40f45a9 100644
--- a/libsoup/soup-message-headers.c
+++ b/libsoup/soup-message-headers.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2007, 2008 Red Hat, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include "soup-message-headers.h"
diff --git a/libsoup/soup-message.c b/libsoup/soup-message.c
index 7ad0aff..f862673 100644
--- a/libsoup/soup-message.c
+++ b/libsoup/soup-message.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2000-2003, Ximian, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include "soup-message.h"
diff --git a/libsoup/soup-misc.c b/libsoup/soup-misc.c
index 325b587..073e895 100644
--- a/libsoup/soup-misc.c
+++ b/libsoup/soup-misc.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2000-2003, Ximian, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include "soup-misc.h"
diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c
index dd57f9a..242c632 100644
--- a/libsoup/soup-multipart.c
+++ b/libsoup/soup-multipart.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2008 Red Hat, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include "soup-multipart.h"
diff --git a/libsoup/soup-path-map.c b/libsoup/soup-path-map.c
index 7b7527a..6be8eb6 100644
--- a/libsoup/soup-path-map.c
+++ b/libsoup/soup-path-map.c
@@ -5,6 +5,10 @@
  * Copyright (C) 2007 Novell, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 #include "soup-path-map.h"
diff --git a/libsoup/soup-socket-properties.c b/libsoup/soup-socket-properties.c
index 0482c44..8dea78c 100644
--- a/libsoup/soup-socket-properties.c
+++ b/libsoup/soup-socket-properties.c
@@ -3,6 +3,10 @@
  * Copyright 2013 Red Hat, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "soup-socket-private.h"
 #include "soup.h"
 
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index 83a8104..ccb5c04 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -5,6 +5,10 @@
  * Copyright 1999-2003 Ximian, Inc.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <stdlib.h>
 


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