Skip to content

Commit

Permalink
Merge pull request #342 from foundriesio/detsch-add-missing-guards
Browse files Browse the repository at this point in the history
tuf: Add missing include guards in internal tuf headers
  • Loading branch information
detsch authored Jul 29, 2024
2 parents 1e252ab + 70f8a42 commit 5c7a06e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tuf/akhttpsreposource.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef AKTUALIZR_LITE_AK_HTTP_REPO_SOURCE_H_
#define AKTUALIZR_LITE_AK_HTTP_REPO_SOURCE_H_

#include "uptane/fetcher.h"

#include "aktualizr-lite/tuf/tuf.h"
Expand Down Expand Up @@ -25,3 +28,4 @@ class AkHttpsRepoSource : public RepoSource {
};

} // namespace aklite::tuf
#endif
5 changes: 5 additions & 0 deletions src/tuf/akrepo.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef AKTUALIZR_LITE_REPO_H_
#define AKTUALIZR_LITE_REPO_H_

#include "libaktualizr/config.h"
#include "storage/invstorage.h"
#include "uptane/fetcher.h"
Expand Down Expand Up @@ -41,3 +44,5 @@ class AkRepo : public Repo {
};

} // namespace aklite::tuf

#endif
5 changes: 5 additions & 0 deletions src/tuf/localreposource.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef AKTUALIZR_LITE_AK_LOCAL_REPO_SOURCE_H_
#define AKTUALIZR_LITE_AK_LOCAL_REPO_SOURCE_H_

#include "boost/filesystem.hpp"

#include "aktualizr-lite/tuf/tuf.h"
Expand All @@ -22,3 +25,5 @@ class LocalRepoSource : public RepoSource {
};

} // namespace aklite::tuf

#endif

0 comments on commit 5c7a06e

Please sign in to comment.