Fix compile warnings on OpenBSD

warning: '__inet_makeaddr' has C-linkage specified, but returns
incomplete type 'struct in_addr' which could be incompatible with C
This commit is contained in:
Jon Siwek 2019-11-08 12:29:12 -08:00
parent b86a8acc2b
commit 11028f45a7
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@
#include "zeek-config.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>

View file

@ -5,6 +5,7 @@
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "NetVar.h"