GNOME Bugzilla – Bug 752898
Using AF_INET needs #include <sys/socket.h>
Last modified: 2015-07-26 17:16:33 UTC
Some files use AF_INET constant without including sys/socket.h, which causes error on FreeBSD: feeds-subscriber.c:429:24: error: use of undeclared identifier 'AF_INET' low_addr.sin_family = AF_INET; ^ feeds-subscriber.c:433:13: error: use of undeclared identifier 'AF_INET' inet_pton (AF_INET, ip, &low_addr.sin_addr); ^
Created attachment 308179 [details] [review] build: include sys/socket.h because AF_INET is used
Attachment 308179 [details] pushed as ea384b9 - build: include sys/socket.h because AF_INET is used