summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extmod/re1.5/regexp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/extmod/re1.5/regexp.h b/extmod/re1.5/regexp.h
index 78492eb0f..316b27076 100644
--- a/extmod/re1.5/regexp.h
+++ b/extmod/re1.5/regexp.h
@@ -3,6 +3,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+#ifndef _RE1_5_REGEXP__H
+#define _RE1_5_REGEXP__H
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -136,3 +139,5 @@ int re1_5_sizecode(const char *re);
int re1_5_compilecode(ByteProg *prog, const char *re);
void re1_5_dumpcode(ByteProg *prog);
void cleanmarks(ByteProg *prog);
+
+#endif /*_RE1_5_REGEXP__H*/