浏览代码

core: include <netinet/in.h> in new dns_func.c file to fix compilation of freebsd

- patch by Victor V. Kustov
Daniel-Constantin Mierla 12 年之前
父节点
当前提交
ee928f8229
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dns_func.c

+ 1 - 1
dns_func.c

@@ -27,7 +27,7 @@
 
 #include "dns_func.h"
 
-
+#include <netinet/in.h>
 #include <resolv.h>
 #include <sys/types.h>
 #include <netdb.h>