Цей веб-сайт працює краще з 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 видалено
Розділений перегляд
Параметри порівняння
Показати статистику
Завантажити патч
Завантажити файл різниці
+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
Писати
Попередній перегляд
Завантаження…
Відмінити
Зберегти