瀏覽代碼

Fix warnings

Eric Andersen 23 年之前
父節點
當前提交
18689d59bb
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;