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 19:19:48 -0700
commit6ae2bbf849aa597054d7c84d20fc634ed87a1da5 (patch)
treec1deed14207996f685f28a5fb5d553db130d205c /lib9p/idl.gen
parentda46fcb709b9df47d788341b3bd87c545f720f4f (diff)
libmisc: Write my own assert.h with assert_notreached()
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"