Skip to content

Commit

Permalink
C - Add <stdint.h> include (required for uint32_t, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanlippuner committed May 23, 2024
1 parent d86c32e commit 0a3e455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proto/cheby/gen_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def gen_c_cheby(fd, root, style):

csym = to_cmacro(root.name)
fd.write("#ifndef {}\n".format(csym))
fd.write("#define {}\n".format(csym))
fd.write("#define {}\n\n".format(csym))
fd.write("#include <stdint.h>\n\n")

# Add the includes for submaps
submaps = [n.name for n in cp.submaps]
Expand Down

0 comments on commit 0a3e455

Please sign in to comment.