obs-outputs: fix build error on freebsd
There is a build error on freebsd: error: invalid application of 'sizeof' to an incomplete type 'struct sockaddr_in' Include proper header file to solve this. Ref: https://www.freebsd.org/doc/en/books/developers-handbook/sockets-essential-functions.html
This commit is contained in:
parent
34f48aa3fc
commit
7a15f670e1
@ -29,6 +29,7 @@
|
||||
# ifdef __linux__
|
||||
# include <linux/if_link.h>
|
||||
# elif __FreeBSD__
|
||||
# include <netinet/in.h>
|
||||
# ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
# define __NET_IF_GNU_SOURCE__
|
||||
|
Loading…
x
Reference in New Issue
Block a user