diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-07 00:09:00 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-07 01:55:23 -0600 |
commit | 4d5a8b2f99be5e04954c5067080d1725af8c0ae7 (patch) | |
tree | 2b1d87719555eeb2159e7e79dcac5605dbb45c74 /lib9p/srv.c | |
parent | 599c887d12d406296f356a02b1088f04ffe1f26e (diff) |
libcr_ipc: Pull as much as possible from public .h to .c files
Diffstat (limited to 'lib9p/srv.c')
-rw-r--r-- | lib9p/srv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib9p/srv.c b/lib9p/srv.c index a425dc9..60a1bb0 100644 --- a/lib9p/srv.c +++ b/lib9p/srv.c @@ -6,8 +6,10 @@ #include <alloca.h> #include <inttypes.h> /* for PRI* */ -#include <stddef.h> /* for size_t */ #include <limits.h> /* for SSIZE_MAX, not set by newlib */ +#include <stddef.h> /* for size_t */ +#include <stdlib.h> /* for malloc() */ +#include <string.h> /* for memcpy() */ #ifndef SSIZE_MAX #define SSIZE_MAX (SIZE_MAX >> 1) #endif @@ -15,7 +17,6 @@ #include <libcr/coroutine.h> #include <libcr_ipc/chan.h> #include <libcr_ipc/mutex.h> -#include <libcr_ipc/select.h> #include <libmisc/assert.h> #include <libmisc/endian.h> #include <libhw/generic/net.h> |