summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2019-11-06 11:08:19 +0100
committerEtienne Samson <samson.etienne@gmail.com>2019-11-06 11:08:19 +0100
commit882220bf116677ff6b89218a5c8bb618463013f4 (patch)
tree79238cd0c1e1495e0bbc3e85c191c5abb7bf5130 /examples
parent4867523e60e18639637b5f4f8a787386f86d10d2 (diff)
downloadlibgit2-882220bf116677ff6b89218a5c8bb618463013f4.tar.gz
examples: add missing include barriers
Diffstat (limited to 'examples')
-rw-r--r--examples/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/common.h b/examples/common.h
index 2ad897bca..4f0181e38 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -11,6 +11,8 @@
* with this software. If not, see
* <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
+#ifndef INCLUDE_examples_common_h__
+#define INCLUDE_examples_common_h__
#include <sys/types.h>
#include <sys/stat.h>
@@ -196,3 +198,5 @@ extern int cred_acquire_cb(git_cred **out,
const char *username_from_url,
unsigned int allowed_types,
void *payload);
+
+#endif