repo: Fix build without libsoup

Had a rare situation where I had no libsoup development files, so I
took the opportunity to fix the build errors.  Ugly, but works now.

Would be nice if libsoup could be a hard dependency since we rarely
ever test a configuration without it.
This commit is contained in:
Matthew Barnes committed 2015-09-21 16:31:02 -04:00
1 parent 055b3aac32
commit 203d6ea65e
2 files changed
+18

No files matched your search

+5
View File
@@ -21,7 +21,10 @@
#pragma once
#include "ostree-repo.h"
#ifdef HAVE_LIBSOUP
#include "ostree-fetcher.h"
#endif
G_BEGIN_DECLS
@@ -204,10 +207,12 @@ _ostree_repo_get_remote_option_inherit (OstreeRepo *self,
char **out_value,
GError **error);
#ifdef HAVE_LIBSOUP
OstreeFetcher *
_ostree_repo_remote_new_fetcher (OstreeRepo *self,
const char *remote_name,
GError **error);
#endif
OstreeGpgVerifyResult *
_ostree_repo_gpg_verify_with_metadata (OstreeRepo *self,