本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
rinri
/
slstatus
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
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 Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
取消
儲存