diff options
Diffstat (limited to 'pr/include/md/_bsdi.h')
-rw-r--r-- | pr/include/md/_bsdi.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pr/include/md/_bsdi.h b/pr/include/md/_bsdi.h index c529649f..346f1049 100644 --- a/pr/include/md/_bsdi.h +++ b/pr/include/md/_bsdi.h @@ -39,6 +39,8 @@ * Internal configuration macros */ +#include <sys/param.h> /* for _BSDI_VERSION */ + #define PR_LINKER_ARCH "bsdi" #define _PR_SI_SYSNAME "BSDI" #if defined(__i386__) @@ -61,6 +63,15 @@ #define USE_SETJMP +/* BSD/OS 4.3 and newer all have IPv6 support */ +#if _BSDI_VERSION >= 200105 +#define _PR_INET6 +#define _PR_HAVE_INET_NTOP +#define _PR_HAVE_GETIPNODEBYNAME +#define _PR_HAVE_GETIPNODEBYADDR +#define _PR_INET6_PROBE +#endif + #ifndef _PR_PTHREADS #include <setjmp.h> |