version 1.69, 2005/11/17 16:12:21 |
version 1.69.8.2, 2006/05/24 10:59:21 |
Line 292 typedef _BSD_USECONDS_T_ useconds_t; |
|
Line 292 typedef _BSD_USECONDS_T_ useconds_t; |
|
#ifdef _NETBSD_SOURCE |
#ifdef _NETBSD_SOURCE |
#include <sys/fd_set.h> |
#include <sys/fd_set.h> |
#define NBBY __NBBY |
#define NBBY __NBBY |
|
|
|
typedef struct kauth_cred *kauth_cred_t; |
|
|
#endif |
#endif |
|
|
#if defined(__STDC__) && defined(_KERNEL) |
#if defined(__STDC__) && defined(_KERNEL) |
|
|
struct __ucontext; |
struct __ucontext; |
struct proc; |
struct proc; |
struct pgrp; |
struct pgrp; |
struct ucred; |
|
struct rusage; |
struct rusage; |
struct file; |
struct file; |
struct buf; |
struct buf; |
|
|
struct uio; |
struct uio; |
#endif |
#endif |
|
|
|
#ifdef _KERNEL |
|
#define SET(t, f) ((t) |= (f)) |
|
#define ISSET(t, f) ((t) & (f)) |
|
#define CLR(t, f) ((t) &= ~(f)) |
|
#endif |
|
|
#if !defined(_KERNEL) && !defined(_STANDALONE) |
#if !defined(_KERNEL) && !defined(_STANDALONE) |
#if (_POSIX_C_SOURCE - 0L) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \ |
#if (_POSIX_C_SOURCE - 0L) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \ |
defined(_NETBSD_SOURCE) |
defined(_NETBSD_SOURCE) |