This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
rinri
/
slstatus
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
0
Вики
Activity
Преглед изворни кода
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…
Откажи
Сачувај