diff options
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/system/network.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h index 82545514bdd..a84bfd453b1 100644 --- a/lib/replace/system/network.h +++ b/lib/replace/system/network.h @@ -332,6 +332,13 @@ typedef unsigned short int sa_family_t; */ # define IOV_MAX 512 # endif +# ifdef __GNU__ + /* + * GNU/Hurd does not have such hardcoded limitations. Use a reasonable + * amount. + */ +# define IOV_MAX 512 +# endif # endif #endif |