From abae6e9cd3f041648eaa85fad2f861515b67c1ce Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 1 Apr 1999 15:33:52 +0000 Subject: First few FreeBSD portability fixes. --- sysdep/unix/io.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdep/unix') diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 6e1952e..9a38844 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -216,6 +217,10 @@ tm_shot(void) * Sockets */ +#ifndef SOL_IP +#define SOL_IP IPPROTO_IP +#endif + static list sock_list; static void -- cgit v1.2.3