Procházet zdrojové kódy

Fix spurious testsuite failure

Denis Vlasenko před 17 roky
rodič
revize
78bb0c1f0b
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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)