summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-05-04 11:39:03 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-05-04 11:39:03 +0100
commitf90c9c1d8160afd1cb8758ae4f714b714ebdc1a6 (patch)
tree5152851a492dee34246668799d69fbb8e5be338d
parentWrite last update time to systemd service status (diff)
downloadgentoobrowse-api-f90c9c1d8160afd1cb8758ae4f714b714ebdc1a6.tar.bz2
gentoobrowse-api-f90c9c1d8160afd1cb8758ae4f714b714ebdc1a6.tar.xz
gentoobrowse-api-f90c9c1d8160afd1cb8758ae4f714b714ebdc1a6.zip
Add missing include guard
-rw-r--r--gentoobrowse-api/service/utils/git.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/utils/git.h b/gentoobrowse-api/service/utils/git.h
index d1e6336..bdae557 100644
--- a/gentoobrowse-api/service/utils/git.h
+++ b/gentoobrowse-api/service/utils/git.h
@@ -1,3 +1,6 @@
+#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_GIT_H
+#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_GIT_H
+
#include <memory>
#include <git2.h>
#include <ostream>
@@ -52,3 +55,5 @@ namespace std {
std::ostream & operator<<(std::ostream &, const git_oid &);
}
+#endif
+