mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fix compiler warnings on OpenBSD
Needed to add an "#include" to get the declaration of "struct in_addr".
This commit is contained in:
parent
31e46d37f0
commit
f107336f21
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ static char copyright[] =
|
|||
#include <stdio.h> /* sprintf, fprintf, stderr */
|
||||
#include <stdlib.h> /* free, atol, calloc */
|
||||
#include <string.h> /* memcpy, strchr, strlen */
|
||||
#include <netinet/in.h> /* for struct in_addr */
|
||||
#include <arpa/inet.h> /* for inet_addr */
|
||||
#include <sys/types.h> /* for u_short, etc. */
|
||||
#include <stdbool.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue