Browse Source

Fix warnings

Eric Andersen 23 năm trước cách đây
mục cha
commit
18689d59bb
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      libc/inet/ether_addr.c

+ 2 - 1
libc/inet/ether_addr.c

@@ -15,13 +15,14 @@
 */
 
 
+#define __FORCE_GLIBC
+#include <features.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <netinet/ether.h>
 #include <netinet/if_ether.h>
 
-#define __FORCE_GLIBC
 struct ether_addr *ether_aton(const char *asc)
 {
 	static struct ether_addr result;