diff options
author | Martin Mares <mj@ucw.cz> | 1999-04-01 15:33:52 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-04-01 15:33:52 +0000 |
commit | abae6e9cd3f041648eaa85fad2f861515b67c1ce (patch) | |
tree | 57384282d1645dfa43b17e59fdef99f1501d3d41 /sysdep | |
parent | 6accdf4f437ef2a3251df917f2b83fe985e64961 (diff) |
First few FreeBSD portability fixes.
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/unix/io.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 6e1952e7..9a388442 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -8,6 +8,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> @@ -216,6 +217,10 @@ tm_shot(void) * Sockets */ +#ifndef SOL_IP +#define SOL_IP IPPROTO_IP +#endif + static list sock_list; static void |