arpa/inet: fix mingw compilation warning
authorEric Blake <eblake@redhat.com>
Wed, 24 Mar 2010 23:25:49 +0000 (17:25 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 25 Mar 2010 22:47:43 +0000 (16:47 -0600)
commit1f87c50a60309f7ae9aafbc7d614f2760f7ded99
tree64796a8f119d3ef405c4a64c4ecb16ddcb53133e
parent784afc2436790a775b5a48e610e9d532885c692e
arpa/inet: fix mingw compilation warning

Mingw doesn't have <arpa/inet.h>, so a conditional use of the
pragma was never encountered, and led to mingw's gcc issuing
warnings about duplicate declarations under -Wredundant-decls.
Making the #pragma unconditional (as was already done in at
least fcntl.in.h) shuts up gcc.

* lib/arpa_inet.in.h (system_header): Hoist to be unconditional.
Reported by Matthew Bolte.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/arpa_inet.in.h