使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
rinri
/
slstatus
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
ip: add OpenBSD support
ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan
6 年前
committed by
Aaron Marcher
父节点
97ef7c2a1d
当前提交
7a9a9b7d76
共有
1 个文件被更改
,包括
5 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+5
-2
components/ip.c
+ 5
- 2
components/ip.c
查看文件
@@ -1,5 +1,9 @@
/* See LICENSE file for copyright and license details. */
#if defined(__linux__)
#if defined(__OpenBSD__)
#include <sys/types.h>
#include <sys/socket.h>
#endif
#include <errno.h>
#include <ifaddrs.h>
#include <netdb.h>
@@ -69,4 +73,3 @@ ipv6(const char *iface)
return NULL;
}
#endif
撰写
预览
正在加载...
取消
保存