Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
rinri
/
slstatus
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
ip: add OpenBSD support
ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan
6 anni fa
committed by
Aaron Marcher
parent
97ef7c2a1d
commit
7a9a9b7d76
1 ha cambiato i file
con
5 aggiunte
e
2 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+5
-2
components/ip.c
+ 5
- 2
components/ip.c
Vedi File
@@ -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
Scrivi
Anteprima
Caricamento…
Annulla
Salva