1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix <sortix/uio.h> not declaring size_t.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-25 22:13:22 +01:00
parent cfa3b19cf2
commit 739f8ba865

View file

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2013. Copyright(C) Jonas 'Sortie' Termansen 2013, 2014.
This file is part of Sortix. This file is part of Sortix.
@ -27,8 +27,16 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/__/types.h>
__BEGIN_DECLS __BEGIN_DECLS
#ifndef __size_t_defined
#define __size_t_defined
#define __need_size_t
#include <stddef.h>
#endif
struct iovec struct iovec
{ {
void* iov_base; void* iov_base;