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
1 changed files with 9 additions and 1 deletions

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.
@ -27,8 +27,16 @@
#include <sys/cdefs.h>
#include <sys/__/types.h>
__BEGIN_DECLS
#ifndef __size_t_defined
#define __size_t_defined
#define __need_size_t
#include <stddef.h>
#endif
struct iovec
{
void* iov_base;