소스 검색

Fix spurious testsuite failure

Denis Vlasenko 17 년 전
부모
커밋
78bb0c1f0b
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      test/inet/tst-ethers-line.c

+ 5 - 0
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)