header/macro fix for OpenBSD

Signed-off-by: Stuart Henderson <stu@spacehopper.org>
This commit is contained in:
Stuart Henderson
2015-02-14 17:20:03 +00:00
committed by Nikos Mavrogiannopoulos
parent 7cb57b162b
commit 56c2d9a74a

View File

@@ -32,7 +32,7 @@
#include <sys/un.h>
#include <sys/uio.h>
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__OpenBSD__)
# include <limits.h>
# define SOL_IP IPPROTO_IP
#endif