py: Add guarded includes for asm-based headers.
diff --git a/py/asmarm.h b/py/asmarm.h
index 378b676..c9819cd 100644
--- a/py/asmarm.h
+++ b/py/asmarm.h
@@ -24,6 +24,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef __MICROPY_INCLUDED_PY_ASMARM_H__
+#define __MICROPY_INCLUDED_PY_ASMARM_H__
+
+#include "py/misc.h"
#define ASM_ARM_PASS_COMPUTE (1)
#define ASM_ARM_PASS_EMIT (2)
@@ -120,3 +124,4 @@
void asm_arm_b_label(asm_arm_t *as, uint label);
void asm_arm_bl_ind(asm_arm_t *as, void *fun_ptr, uint fun_id, uint reg_temp);
+#endif // __MICROPY_INCLUDED_PY_ASMARM_H__