gcc inet_addr was not declared in this scope 解决

缺少头文件

 

#include <arpa/inet.h>

posted @ 2011-04-06 23:14  OYJJ  阅读(1467)  评论(0编辑  收藏  举报