Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
rinri
/
slstatus
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
ip: add OpenBSD support
ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan
il y a 6 ans
committed by
Aaron Marcher
Parent
97ef7c2a1d
révision
7a9a9b7d76
1 fichiers modifiés
avec
5 ajouts
et
2 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+5
-2
components/ip.c
+ 5
- 2
components/ip.c
Voir le fichier
@@ -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
Écrire
Aperçu
Chargement…
Annuler
Enregistrer