Skip to content

Commit

Permalink
Add a definition for s6_addr16 on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
blast007 committed Jul 26, 2023
1 parent 8561ed5 commit d5278e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ extern "C" {
void bzfherror(const char* msg);
}

# if defined(__APPLE__) && !defined(s6_addr16)
# define s6_addr16 __u6_addr.__u6_addr16
# endif

#endif /* defined(_WIN32) */

// Can this happen?
Expand Down

0 comments on commit d5278e8

Please sign in to comment.