Provide size_t.

This commit is contained in:
joerg 2015-03-09 11:03:19 +00:00
parent bf803657e5
commit 4d7f10fd5b

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysarch.h,v 1.11 2014/01/16 21:48:41 matt Exp $ */
/* $NetBSD: sysarch.h,v 1.12 2015/03/09 11:03:19 joerg Exp $ */
/*
* Copyright (c) 1996-1997 Mark Brinicombe.
@ -38,13 +38,19 @@
#include <sys/cdefs.h>
/*
* Pickup definition of uintptr_t
* Pickup definition of size_t and uintptr_t
*/
#include <machine/ansi.h>
#include <sys/stdint.h>
#ifndef _KERNEL
#include <stdbool.h>
#endif
#ifdef _BSD_SIZE_T_
typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
/*
* Architecture specific syscalls (arm)
*/