summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2013-02-12 11:44:32 +0100
committerYorhel <git@yorhel.nl>2013-02-12 11:44:32 +0100
commit6904ff9be879d4f2e469ff102f79248a244befe8 (patch)
tree868b990f1aba4f0e69da4d46f5a12df442411cb1
parentb37bdf23377f7d21674bbe06f80fb407eba6a5f8 (diff)
yopt.h: Added guards against double inclusion
-rw-r--r--yopt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/yopt.h b/yopt.h
index 5fe3b7a..e8a9949 100644
--- a/yopt.h
+++ b/yopt.h
@@ -45,6 +45,9 @@
*/
+#ifndef YOPT_H
+#define YOPT_H
+
#include <string.h>
#include <stdarg.h>
@@ -189,4 +192,7 @@ inshort:
return opt->val;
}
+
+#endif
+
/* vim: set noet sw=4 ts=4: */