Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
rinri
/
slstatus
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
ip: add OpenBSD support
ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan
6 år sedan
committed by
Aaron Marcher
förälder
97ef7c2a1d
incheckning
7a9a9b7d76
1 ändrade filer
med
5 tillägg
och
2 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-2
components/ip.c
+ 5
- 2
components/ip.c
Visa fil
@@ -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
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara