lib/pull: allways include ostree-repo-pull-private.h
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Thu, 21 Dec 2017 09:25:45 +0000 (10:25 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 21 Dec 2017 22:47:06 +0000 (22:47 +0000)
Allways include ostree-repo-pull-private.h to get rid of the following
build error when HAVE_LIBCURL_OR_LIBSOUP is not defined:

src/libostree/ostree-repo-pull.c:1493:1: error: no previous prototype
for '_ostree_repo_verify_bindings' [-Werror=missing-prototypes]

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Closes: #1389
Approved by: cgwalters

src/libostree/ostree-repo-pull.c

index 2e6e308c6cc742f76d342840667e4f8bd9bec5f2..b2a00ea2cdf45239deb1bf4435d4f3fc4f77f395 100644 (file)
 #include "libglnx.h"
 #include "ostree.h"
 #include "otutil.h"
+#include "ostree-repo-pull-private.h"
 
 #ifdef HAVE_LIBCURL_OR_LIBSOUP
 
 #include "ostree-core-private.h"
 #include "ostree-repo-private.h"
-#include "ostree-repo-pull-private.h"
 #include "ostree-repo-static-delta-private.h"
 #include "ostree-metalink.h"
 #include "ostree-fetcher-util.h"