readded some includes to make it build on openbsd

This commit is contained in:
Bjorn Andersson 2007-02-10 23:21:12 +00:00
parent eb082ac9ce
commit 3b8ca164ab
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,7 @@
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <netinet/in.h>
#ifdef DARWIN
#include <arpa/nameser8_compat.h>
#endif

View file

@ -17,6 +17,9 @@
#ifndef __COMMON_H__
#define __COMMON_H__
#include <sys/types.h>
#include <sys/socket.h>
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif