test/smtp-dummy.c: fix compilation on FreeBSD

Use the more portable netint/in.h, instead of netint/ip.h, to include
htons(3), etc.
This commit is contained in:
Mike Kelly 2012-05-30 03:01:59 -04:00 committed by David Bremner
parent 8428e0465a
commit 1652ea7d1b

View file

@ -37,7 +37,9 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <netinet/ip.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>