Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
rinri
/
slstatus
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
ip: add OpenBSD support
ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan
há 6 anos
committed by
Aaron Marcher
ascendente
97ef7c2a1d
cometimento
7a9a9b7d76
1 ficheiros alterados
com
5 adições
e
2 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+5
-2
components/ip.c
+ 5
- 2
components/ip.c
Ver ficheiro
@@ -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
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar