소스 검색

replace linux/if.h with net/if.h

ithewei 2 년 전
부모
커밋
df8b2d6d15
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cpputil/ifconfig.cpp

+ 1 - 1
cpputil/ifconfig.cpp

@@ -8,7 +8,7 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <netinet/in.h>
-#include <linux/if.h>
+#include <net/if.h>
 #include <arpa/inet.h>
 
 int ifconfig(std::vector<ifconfig_t>& ifcs) {