summaryrefslogtreecommitdiff
path: root/libhw_generic/include/libhw/generic/net.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-23 09:24:31 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-25 18:36:39 -0600
commit654b1940705197f22ffeebd73e62cea2282bdbda (patch)
tree6e912d5d76d2d660d80cdee1e2217ed72af0063d /libhw_generic/include/libhw/generic/net.h
parent188ac62a0c0f5519f5d45519fa7d224cb25305c6 (diff)
Pull iovec definitions out into libhw/generic/io.h
Diffstat (limited to 'libhw_generic/include/libhw/generic/net.h')
-rw-r--r--libhw_generic/include/libhw/generic/net.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libhw_generic/include/libhw/generic/net.h b/libhw_generic/include/libhw/generic/net.h
index 8d81573..0386e12 100644
--- a/libhw_generic/include/libhw/generic/net.h
+++ b/libhw_generic/include/libhw/generic/net.h
@@ -13,16 +13,8 @@
#include <stdint.h> /* for uint{n}_t} */
#include <sys/types.h> /* for ssize_t */
-#if __unix__
-#include <sys/uio.h>
-#else
-struct iovec {
- void *iov_base;
- size_t iov_len;
-};
-#endif
-
#include <libobj/obj.h>
+#include <libhw/generic/io.h>
/* Errnos *********************************************************************/