From cafe9756bff076e4e07b5599fe2946a57dff0803 Mon Sep 17 00:00:00 2001 From: kleink Date: Tue, 19 Sep 2000 08:35:36 +0000 Subject: [PATCH] Define pid_t via . --- sys/sys/ansi.h | 3 ++- sys/sys/types.h | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/sys/ansi.h b/sys/sys/ansi.h index 8c50b89639c2..ac1f9fabf2ab 100644 --- a/sys/sys/ansi.h +++ b/sys/sys/ansi.h @@ -1,4 +1,4 @@ -/* $NetBSD: ansi.h,v 1.5 2000/06/26 17:11:32 kleink Exp $ */ +/* $NetBSD: ansi.h,v 1.6 2000/09/19 08:35:36 kleink Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -43,6 +43,7 @@ typedef __uint32_t __mode_t; /* file permissions */ typedef __int64_t __off_t; /* file offset */ +typedef __int32_t __pid_t; /* process id */ typedef __uint8_t __sa_family_t; /* socket address family */ typedef unsigned int __socklen_t; /* socket-related datum length */ diff --git a/sys/sys/types.h b/sys/sys/types.h index ebcc65294be2..ca6d2ed1ad78 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.46 2000/07/28 09:33:28 kleink Exp $ */ +/* $NetBSD: types.h,v 1.47 2000/09/19 08:35:36 kleink Exp $ */ /*- * Copyright (c) 1982, 1986, 1991, 1993, 1994 @@ -95,7 +95,11 @@ typedef __off_t off_t; /* file offset */ #define off_t __off_t #endif -typedef int32_t pid_t; /* process id */ +#ifndef pid_t +typedef __pid_t pid_t; /* process id */ +#define pid_t __pid_t +#endif + typedef quad_t rlim_t; /* resource limit */ typedef int32_t segsz_t; /* segment size */ typedef int32_t swblk_t; /* swap offset */