Index: src/fnet.h
--- src/fnet.h.orig	2005-03-17 13:56:40 +0100
+++ src/fnet.h	2005-03-24 08:47:57 +0100
@@ -14,6 +14,7 @@
 #define RdelwinE(ptr)  { if (ptr) werase(ptr); delwin(ptr); ptr = NULL; } 
 #include <curses.h>
 #include <time.h>
+#include <sys/types.h>
 
 #ifdef HAVE_STRING_H
 #include <string.h>
Index: src/smbc.c
--- src/smbc.c.orig	2005-03-18 13:31:53 +0100
+++ src/smbc.c	2005-03-24 08:31:31 +0100
@@ -23,6 +23,8 @@
 #endif /* HAVE_STRINGS_H */
 #endif /* not HAVE_STRING_H */
 
+#include <sys/types.h>
+#include <signal.h>
 #include <sys/ioctl.h>
 #include <libintl.h>
 #include <sys/file.h>
@@ -1175,7 +1177,7 @@
   int Rkey, Rsel, RmaxY, Rx6, Ri, RlFirst, RlSelect;
   TTdownload *RdownloadListTmp, *RdownloadListTmp2;
   int Rcut = 0;
-  sighandler_t RpreviousAction;
+  void (*RpreviousAction)();
 
   void 
   RpaintList(int Rfirst, int Rselect)
Index: src/rtypedef.h
--- src/rtypedef.h.orig	2005-03-17 08:07:52 +0100
+++ src/rtypedef.h	2005-03-24 08:53:02 +0100
@@ -10,6 +10,8 @@
 // -------------------------------------------------------------------
 
 #include "consts.h"
+#include <time.h>
+#include <sys/time.h>
 
 #define RMAXDIRLEN 1000
 #define TdownloadsizeDisplayRLen 6
