aboutgitcodebugslistschat
path: root/serialise.c
diff options
context:
space:
mode:
Diffstat (limited to 'serialise.c')
-rw-r--r--serialise.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/serialise.c b/serialise.c
index 346df99..e083112 100644
--- a/serialise.c
+++ b/serialise.c
@@ -121,6 +121,10 @@ int write_all_buf(int fd, const void *buf, size_t len)
return write_all_buf(fd, &beval, sizeof(beval)); \
}
+#define be8toh(x) (x)
+#define htobe8(x) (x)
+
+SERIALISE_UINT(8)
SERIALISE_UINT(32)
#undef SERIALISE_UINT