[ostree] trivial: Don't include config.h in headers
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] trivial: Don't include config.h in headers
- Date: Tue, 15 Oct 2013 19:28:05 +0000 (UTC)
commit 4e5b31b8fcb1d9da5d377b60e9bc083a5a200045
Author: Colin Walters <walters verbum org>
Date: Tue Oct 15 15:26:37 2013 -0400
trivial: Don't include config.h in headers
This should be included by each .c file. This fixes using libostree
from a "plain" project without config.h.
src/libostree/ostree-gpg-verifier.c | 2 ++
src/libostree/ostree-gpg-verifier.h | 1 -
src/libostree/ostree-repo.h | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libostree/ostree-gpg-verifier.c b/src/libostree/ostree-gpg-verifier.c
index bb02b94..7acd54a 100644
--- a/src/libostree/ostree-gpg-verifier.c
+++ b/src/libostree/ostree-gpg-verifier.c
@@ -21,6 +21,8 @@
* Author: Sjoerd Simons <sjoerd simons collabora co uk>
*/
+#include "config.h"
+
#include "ostree-gpg-verifier.h"
#include "otutil.h"
diff --git a/src/libostree/ostree-gpg-verifier.h b/src/libostree/ostree-gpg-verifier.h
index f69af06..1cde9c5 100644
--- a/src/libostree/ostree-gpg-verifier.h
+++ b/src/libostree/ostree-gpg-verifier.h
@@ -23,7 +23,6 @@
//#pragma once
-#include "config.h"
#include <glib-object.h>
#include <gio/gio.h>
diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h
index 8bd9488..0aa4a3f 100644
--- a/src/libostree/ostree-repo.h
+++ b/src/libostree/ostree-repo.h
@@ -22,7 +22,6 @@
#pragma once
-#include "config.h"
#include "ostree-core.h"
#include "ostree-types.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]