replace: fix build issues on GNU Hurd (#7998)
authorBjörn Jacke <bj@sernet.de>
Sun, 29 May 2011 21:42:09 +0000 (23:42 +0200)
committerBjoern Jacke <bj@sernet.de>
Sun, 29 May 2011 22:53:59 +0000 (00:53 +0200)
Patch from Samuel Thibault <sthibault@debian.org> to fix Debian Bug 610678
resp. BSO #7998. IOV_MAX and UIO_MAXIOV are not defined on GNU Hurd.

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Mon May 30 00:53:59 CEST 2011 on sn-devel-104

lib/replace/system/network.h

index f7c1bcfacbb2086d041f2f19022b962c2eb17f0f..2ec9ebde4527207683356fb5824bbf1ed2bdef2e 100644 (file)
@@ -332,7 +332,7 @@ typedef unsigned short int sa_family_t;
      */
 #   define IOV_MAX 512
 #  else
-#   error IOV_MAX and UIO_MAXIOV undefined
+#   warning IOV_MAX and UIO_MAXIOV undefined
 #  endif
 # endif
 #endif