[gcab] trivial: Add config.h includes to all .c files



commit 1edee856c83d7625027287ec336499f31fe01335
Author: Richard Hughes <richard hughsie com>
Date:   Thu Nov 16 20:59:26 2017 +0000

    trivial: Add config.h includes to all .c files
    
    Reviewed-by: Marc-André Lureau <marcandre lureau redhat com>

 libgcab/cabinet.c      |    2 ++
 libgcab/decomp.c       |    2 ++
 libgcab/gcab-cabinet.c |    2 ++
 libgcab/gcab-file.c    |    2 ++
 libgcab/gcab-folder.c  |    4 ++++
 libgcab/gcab-priv.h    |    2 ++
 libgcab/glib-compat.c  |    2 ++
 7 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/libgcab/cabinet.c b/libgcab/cabinet.c
index 966182d..56c333d 100644
--- a/libgcab/cabinet.c
+++ b/libgcab/cabinet.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include "gcab-priv.h"
 #include <glib/gi18n-lib.h>
 
diff --git a/libgcab/decomp.c b/libgcab/decomp.c
index 625252c..ad59ad8 100644
--- a/libgcab/decomp.c
+++ b/libgcab/decomp.c
@@ -20,6 +20,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include "config.h"
+
 #include <string.h>
 #include "decomp.h"
 
diff --git a/libgcab/gcab-cabinet.c b/libgcab/gcab-cabinet.c
index a6cc4f0..b49d296 100644
--- a/libgcab/gcab-cabinet.c
+++ b/libgcab/gcab-cabinet.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <glib/gi18n-lib.h>
 #include "gcab-priv.h"
 
diff --git a/libgcab/gcab-file.c b/libgcab/gcab-file.c
index e616678..fbc3504 100644
--- a/libgcab/gcab-file.c
+++ b/libgcab/gcab-file.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include "gcab-priv.h"
 #include "gcab-file.h"
 
diff --git a/libgcab/gcab-folder.c b/libgcab/gcab-folder.c
index dc33b6a..631113f 100644
--- a/libgcab/gcab-folder.c
+++ b/libgcab/gcab-folder.c
@@ -1,3 +1,7 @@
+#include "config.h"
+
+#include <strings.h>
+
 #include "gcab-priv.h"
 
 /**
diff --git a/libgcab/gcab-priv.h b/libgcab/gcab-priv.h
index c5be95f..1893cb7 100644
--- a/libgcab/gcab-priv.h
+++ b/libgcab/gcab-priv.h
@@ -1,6 +1,8 @@
 #ifndef GCAB_PRIV_H
 #define GCAB_PRIV_H
 
+#include "config.h"
+
 #include <glib-object.h>
 #include "glib-compat.h"
 
diff --git a/libgcab/glib-compat.c b/libgcab/glib-compat.c
index dd39899..f6efb75 100644
--- a/libgcab/glib-compat.c
+++ b/libgcab/glib-compat.c
@@ -15,6 +15,8 @@
  * MA 02110-1301 USA
  */
 
+#include "config.h"
+
 #include <string.h>
 
 #include "glib-compat.h"


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