Fix build on OpenBSD

This commit is contained in:
Erik Ekman 2009-01-06 10:47:01 +00:00 committed by Erik Ekman
parent 2bccb33214
commit 9be3ef639c
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