Skip to content
Snippets Groups Projects
Commit 1de5f0a5 authored by Nathan Weeks's avatar Nathan Weeks
Browse files

sockaddr_in and sockaddr_in6 are defined in netinet/in.h, which may or may not...

sockaddr_in and sockaddr_in6 are defined in netinet/in.h, which may or may not be included by arpa/inet.h (per POSIX.1-2008). Explicitly include netinet/in.h to compilation on FreeBSD 9.0.
parent be0e9cc4
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
#ifndef _WIN32 // <-- source files only include the proper Net*_p.h, but this is a double-check
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/stat.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment