Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
rinri
/
slstatus
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
ip: add OpenBSD support
ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan
6 anos atrás
committed by
Aaron Marcher
pai
97ef7c2a1d
commit
7a9a9b7d76
1 arquivos alterados
com
5 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+5
-2
components/ip.c
+ 5
- 2
components/ip.c
Ver arquivo
@@ -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é-visualização
Carregando…
Cancelar
Salvar