diff options
Diffstat (limited to 'gcc/ada/gsocket.h')
-rw-r--r-- | gcc/ada/gsocket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h index ce4d47801d6..8b8c83808b6 100644 --- a/gcc/ada/gsocket.h +++ b/gcc/ada/gsocket.h @@ -184,3 +184,9 @@ #else # define Need_Netdb_Buffer 0 #endif + +#if defined (__FreeBSD__) || defined (__vxworks) +# define Has_Sockaddr_Len 1 +#else +# define Has_Sockaddr_Len 0 +#endif |