Fix compiler warnings on OpenBSD

Needed to add an "#include" to get the declaration of "struct in_addr".
This commit is contained in:
Daniel Thayer 2016-12-02 16:15:12 -06:00
parent 31e46d37f0
commit f107336f21

View file

@ -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>