diff options
author | Paul Mackerras <paulus@samba.org> | 1998-03-25 04:03:14 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 1998-03-25 04:03:14 +0000 |
commit | d787efe484e0c2555d8965ff0320713b0ea08e2b (patch) | |
tree | 9180c0e30bc9e9b9c84b9a12e79b6b8c95d75b79 /include/net | |
parent | 0f25d6aa1330d5a4ec11086040fe465500be90f8 (diff) | |
download | ppp-d787efe484e0c2555d8965ff0320713b0ea08e2b.tar.gz |
small mods for NeXT
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/if_ppp.h | 4 | ||||
-rw-r--r-- | include/net/ppp_defs.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/net/if_ppp.h b/include/net/if_ppp.h index 17060c7..e414a84 100644 --- a/include/net/if_ppp.h +++ b/include/net/if_ppp.h @@ -1,4 +1,4 @@ -/* $Id: if_ppp.h,v 1.16 1997/04/30 05:46:04 paulus Exp $ */ +/* $Id: if_ppp.h,v 1.17 1998/03/25 04:03:13 paulus Exp $ */ /* * if_ppp.h - Point-to-Point Protocol definitions. @@ -125,7 +125,7 @@ struct ifpppcstatsreq { #define ifr_mtu ifr_ifru.ifru_metric #endif -#if defined(_KERNEL) || defined(KERNEL) +#if (defined(_KERNEL) || defined(KERNEL)) && !defined(NeXT) void pppattach __P((void)); void pppintr __P((void)); #endif diff --git a/include/net/ppp_defs.h b/include/net/ppp_defs.h index 0857e4e..ae9bbc3 100644 --- a/include/net/ppp_defs.h +++ b/include/net/ppp_defs.h @@ -1,4 +1,4 @@ -/* $Id: ppp_defs.h,v 1.12 1997/11/27 06:05:49 paulus Exp $ */ +/* $Id: ppp_defs.h,v 1.13 1998/03/25 04:03:14 paulus Exp $ */ /* * ppp_defs.h - PPP definitions. @@ -94,11 +94,14 @@ /* * A 32-bit unsigned integral type. */ -#if !defined(__BIT_TYPES_DEFINED__) && !defined(_BITYPES) && !defined(__FreeBSD__) + +#if !defined(__BIT_TYPES_DEFINED__) && !defined(_BITYPES) \ + && !defined(__FreeBSD__) && (NS_TARGET < 40) #ifdef UINT32_T typedef UINT32_T u_int32_t; #else typedef unsigned int u_int32_t; +typedef unsigned short u_int16_t; #endif #endif |