From 78bb0c1f0bf5c4e1fe39d0ebcda96b480c28e0ec Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 6 Jun 2008 02:42:57 +0000 Subject: Fix spurious testsuite failure --- test/inet/tst-ethers-line.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/inet/tst-ethers-line.c b/test/inet/tst-ethers-line.c index d4835b546..c6e70e811 100644 --- a/test/inet/tst-ethers-line.c +++ b/test/inet/tst-ethers-line.c @@ -6,6 +6,11 @@ #include #include +/* glibc 2.4 has no ETHER_FILE_NAME, host compile fails without this */ +#ifndef ETHER_FILE_NAME +#define ETHER_FILE_NAME "/etc/ethers" +#endif + #define ETHER_LINE_LEN 256 int main(void) -- cgit v1.2.3