summaryrefslogtreecommitdiff
path: root/lib9p/idl.gen
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-11 10:22:26 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-11 10:22:26 -0700
commitced8ab50af1429d9ba7651da1b3b78014fd76e79 (patch)
tree4f0975a2594c4bfa97ebaa6b263e712858d2e8a4 /lib9p/idl.gen
parentd84daf84d2ced072782ef3c61e5088b06d950939 (diff)
libmisc: Write my own assert.hHEADmain
Diffstat (limited to 'lib9p/idl.gen')
-rwxr-xr-xlib9p/idl.gen3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib9p/idl.gen b/lib9p/idl.gen
index ec42cfd..3be1d7e 100755
--- a/lib9p/idl.gen
+++ b/lib9p/idl.gen
@@ -681,12 +681,13 @@ def gen_c(versions: set[str], typs: list[Type]) -> str:
ret = f"""/* Generated by `{' '.join(sys.argv)}`. DO NOT EDIT! */
-#include <assert.h>
#include <stdbool.h>
#include <stddef.h> /* for size_t */
#include <inttypes.h> /* for PRI* macros */
#include <string.h> /* for memset() */
+#include <libmisc/assert.h>
+
#include <lib9p/9p.h>
#include "internal.h"