소스 검색

ip: add OpenBSD support

ip.c already works on OpenBSD, it's just missing some headers:
master
Ali H. Fardan 6 년 전
committed by Aaron Marcher
부모
커밋
7a9a9b7d76
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. +5
    -2
      components/ip.c

+ 5
- 2
components/ip.c 파일 보기

@@ -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

불러오는 중...
취소
저장