Pull in NetBSD's queue.h (for pkgsrc)
This commit is contained in:
parent
8182a9d972
commit
f3ce085913
3 changed files with 628 additions and 500 deletions
|
@ -9,6 +9,6 @@ INCS= asynchio.h dir.h file.h ioc_cmos.h ioc_disk.h \
|
|||
select.h sem.h shm.h sigcontext.h signal.h socket.h \
|
||||
soundcard.h statfs.h statvfs.h stat.h svrctl.h timeb.h \
|
||||
time.h times.h types.h ucontext.h uio.h un.h utsname.h video.h vm.h \
|
||||
wait.h cdefs.h
|
||||
wait.h cdefs.h null.h
|
||||
|
||||
.include <bsd.kinc.mk>
|
||||
|
|
16
include/sys/null.h
Normal file
16
include/sys/null.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/* $NetBSD: null.h,v 1.8 2009/10/13 17:19:00 dsl Exp $ */
|
||||
|
||||
#ifndef _SYS_NULL_H_
|
||||
#define _SYS_NULL_H_
|
||||
#ifndef NULL
|
||||
#if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
|
||||
#if !defined(__cplusplus)
|
||||
#define NULL ((void *)0)
|
||||
#else
|
||||
#define NULL 0
|
||||
#endif /* !__cplusplus */
|
||||
#else
|
||||
#define NULL __null
|
||||
#endif
|
||||
#endif
|
||||
#endif /* _SYS_NULL_H_ */
|
1110
include/sys/queue.h
1110
include/sys/queue.h
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue