Commit 882220bf116677ff6b89218a5c8bb618463013f4

Etienne Samson 2019-11-06T11:08:19

examples: add missing include barriers

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/examples/common.h b/examples/common.h
index 2ad897b..4f0181e 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