diff options
Diffstat (limited to 'devel/linuxthreads/files/getprotoby_r.c')
-rw-r--r-- | devel/linuxthreads/files/getprotoby_r.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/linuxthreads/files/getprotoby_r.c b/devel/linuxthreads/files/getprotoby_r.c index 2e6a7479f877..211cfaeeb26e 100644 --- a/devel/linuxthreads/files/getprotoby_r.c +++ b/devel/linuxthreads/files/getprotoby_r.c @@ -3,7 +3,8 @@ #include <string.h> #include <sys/param.h> -#if __FreeBSD_version < 700016 +#if (__FreeBSD_version >= 700000 && __FreeBSD_version < 700016) || \ + __FreeBSD_version < 601103 static pthread_mutex_t getprotoby_mutex = PTHREAD_MUTEX_INITIALIZER; @@ -107,4 +108,4 @@ getprotoent_r (struct protoent *result, char *buffer, int buflen) return result; } -#endif /* #if __FreeBSD_version < 700016 */ +#endif /* #if __FreeBSD_version < 601103 */ |