aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libparser.h b/libparser.h
index 74ab319..31d29b6 100644
--- a/libparser.h
+++ b/libparser.h
@@ -1,4 +1,7 @@
/* See LICENSE file for copyright and license details. */
+#ifndef LIBPARSER_H
+#define LIBPARSER_H
+
#include <stddef.h>
union libparser_sentence;
@@ -71,3 +74,5 @@ extern const struct libparser_rule *const libparser_rule_table[];
struct libparser_unit *libparser_parse_file(const struct libparser_rule *const rules[],
const char *data, size_t length, int *exceptionp);
+
+#endif