Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
rinri
/
slstatus
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Pull Request'ы
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
Сommit
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
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить