diff options
Diffstat (limited to 'test/inet/tst-ethers-line.c')
-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) |