ip_compat.h (ab25eeb5) | ip_compat.h (c793af95) |
---|---|
1/* 2 * Copyright (C) 1993-2001, 2003 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * @(#)ip_compat.h 1.8 1/14/96 7 * $Id: ip_compat.h,v 2.142.2.30 2005/08/11 15:13:49 darrenr Exp $ 8 * 9 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 10 * Use is subject to license terms. 11 */ 12 13#pragma ident "%Z%%M% %I% %E% SMI" 14 | 1/* 2 * Copyright (C) 1993-2001, 2003 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * @(#)ip_compat.h 1.8 1/14/96 7 * $Id: ip_compat.h,v 2.142.2.30 2005/08/11 15:13:49 darrenr Exp $ 8 * 9 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 10 * Use is subject to license terms. 11 */ 12 13#pragma ident "%Z%%M% %I% %E% SMI" 14 |
15 | |
16#ifndef __IP_COMPAT_H__ 17#define __IP_COMPAT_H__ 18 19#ifndef __P 20# ifdef __STDC__ 21# define __P(x) x 22# else 23# define __P(x) () --- 122 unchanged lines hidden (view full) --- 146# include <sys/sysmacros.h> 147# include <sys/kmem.h> 148# if SOLARIS2 >= 10 149# include <sys/procset.h> 150# include <sys/proc.h> 151# include <sys/devops.h> 152# include <sys/ddi_impldefs.h> 153# endif | 15#ifndef __IP_COMPAT_H__ 16#define __IP_COMPAT_H__ 17 18#ifndef __P 19# ifdef __STDC__ 20# define __P(x) x 21# else 22# define __P(x) () --- 122 unchanged lines hidden (view full) --- 145# include <sys/sysmacros.h> 146# include <sys/kmem.h> 147# if SOLARIS2 >= 10 148# include <sys/procset.h> 149# include <sys/proc.h> 150# include <sys/devops.h> 151# include <sys/ddi_impldefs.h> 152# endif |
153 |
|
154/* | 154/* |
155 * inet/ip.h would end up including radix.h with _KERNEL, which is not 156 * what the tools intend, so include radix.h first. 157 */ 158#if SOLARIS2 > 10 159# include <net/radix.h> 160#endif 161/* |
|
155 * because Solaris 2 defines these in two places :-/ 156 */ 157# ifndef KERNEL 158# define _KERNEL 159# undef RES_INIT 160# endif /* _KERNEL */ 161 162# if SOLARIS2 >= 8 --- 2261 unchanged lines hidden --- | 162 * because Solaris 2 defines these in two places :-/ 163 */ 164# ifndef KERNEL 165# define _KERNEL 166# undef RES_INIT 167# endif /* _KERNEL */ 168 169# if SOLARIS2 >= 8 --- 2261 unchanged lines hidden --- |