diff -Nru siefs-0.5.orig/siefs/charset.c siefs-0.5/siefs/charset.c --- siefs-0.5.orig/siefs/charset.c 2005-04-05 17:15:47.000000000 +0300 +++ siefs-0.5/siefs/charset.c 2007-05-23 14:13:19.000000000 +0300 @@ -1,4 +1,5 @@ #include +#include #include #include diff -Nru siefs-0.5.orig/siefs/comm.c siefs-0.5/siefs/comm.c --- siefs-0.5.orig/siefs/comm.c 2005-04-05 02:53:38.000000000 +0300 +++ siefs-0.5/siefs/comm.c 2007-05-23 14:12:32.000000000 +0300 @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "comm.h" @@ -114,7 +115,7 @@ if (fd < 0) return -1; h->fd = fd; - bzero(&tio, sizeof(tio)); + memset(&tio, 0, sizeof(tio)); f = commflags(h->speed); if (f == -1) return -1; tio.c_cflag = f; diff -Nru siefs-0.5.orig/siefs/transport.c siefs-0.5/siefs/transport.c --- siefs-0.5.orig/siefs/transport.c 2005-04-05 18:06:44.000000000 +0300 +++ siefs-0.5/siefs/transport.c 2007-05-23 14:13:00.000000000 +0300 @@ -10,6 +10,7 @@ #include #include +#include #include #include "comm.h" #include "crcmodel.h"