Fixed issues on FreeBSD with CMake build for BSC and IPv6 datalinks. (#1046)

This commit is contained in:
Alonso Cárdenas
2025-07-16 07:48:50 -07:00
committed by GitHub
parent f010c8e2e8
commit 66bb52e7f0
2 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
#endif
#include "bacport.h"
#if defined(__APPLE__) || defined(__darwin__)
#if defined(__APPLE__) || defined(__darwin__) || defined(__FreeBSD__)
/* OSX seems not to define these. */
#ifndef s6_addr16
#define s6_addr16 __u6_addr.__u6_addr16