Define pid_t via <sys/ansi.h>.
This commit is contained in:
parent
d471ac652d
commit
cafe9756bf
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue