Fix build on OpenBSD

This commit is contained in:
Erik Ekman 2009-01-06 10:47:01 +00:00
parent 9f2730cb9a
commit 168b05e3f7
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h>
#ifndef MIN #ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b)) #define MIN(a,b) ((a)<(b)?(a):(b))

View File

@ -17,6 +17,7 @@
#ifndef __FW_QUERY_H__ #ifndef __FW_QUERY_H__
#define __FW_QUERY_H__ #define __FW_QUERY_H__
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#define FW_QUERY_CACHE_SIZE 16 #define FW_QUERY_CACHE_SIZE 16