mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Dragonfly BSD needs sys/socket.h
Commit 4bc220f
removed `#include <sys/socket.h>` which breaks compiling
on Dragonfly BSD.
This commit is contained in:
parent
1f77c2d09d
commit
446f5d6134
1 changed files with 1 additions and 0 deletions
|
@ -886,6 +886,7 @@ static bool get_mac_address(unsigned char macaddr[MAC_ADDRESS_MAX_LEN],
|
|||
#elif defined(HAVE_GETIFADDRS)
|
||||
|
||||
// OS X and BSD
|
||||
#include <sys/socket.h>
|
||||
#include <ifaddrs.h>
|
||||
#include <net/if_dl.h>
|
||||
static bool get_mac_address(unsigned char macaddr[MAC_ADDRESS_MAX_LEN],
|
||||
|
|
Loading…
Reference in a new issue