diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-07 20:29:35 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-07 20:29:35 -0600 |
commit | d053a0f6dffc575611324b81acaef0d1554bda6c (patch) | |
tree | 3eb702a06625ef1f6be0648f7fec311b628808e9 /lib9p/srv.c | |
parent | 33b7cf675238367db2fc0528dea103d7792eaa0e (diff) | |
parent | 062e063f76c5937be4dc8465f6471ff9b5eb7be9 (diff) |
Merge branch 'lukeshu/ipc'
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> |