diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-06 02:42:57 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-06 02:42:57 +0000 |
commit | 78bb0c1f0bf5c4e1fe39d0ebcda96b480c28e0ec (patch) | |
tree | 4eb441ded45b390b9f56ae467060c8059f50603f | |
parent | e66aed2bde24de88a59153857781b39042c77cac (diff) |
Fix spurious testsuite failure
-rw-r--r-- | test/inet/tst-ethers-line.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <fcntl.h> #include <stdlib.h> +/* 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) |