Skip to content
Snippets Groups Projects
Commit 311e8fce authored by Alexander Turenko's avatar Alexander Turenko Committed by Vladimir Davydov
Browse files

Add <netinet/in.h> include on FreeBSD

FreeBSD does not include headers recursively, so we need to include it
explicitly at least for using IPPROTO_UDP macro.

Thanks Po-Chuan Hsieh (@sunpoet) for the fix proposal (PR #3739).

Fixes #3677.
parent 68e197a5
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@
#include <stdio.h>
#include <string.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.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