summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 02:42:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 02:42:57 +0000
commit78bb0c1f0bf5c4e1fe39d0ebcda96b480c28e0ec (patch)
tree4eb441ded45b390b9f56ae467060c8059f50603f /test
parente66aed2bde24de88a59153857781b39042c77cac (diff)
Fix spurious testsuite failure
Diffstat (limited to 'test')
-rw-r--r--test/inet/tst-ethers-line.c5
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)