]> gitweb.fperrin.net Git - iftop.git/blobdiff - dlcommon.c
Import iftop-1.0pre4
[iftop.git] / dlcommon.c
index 748cea9bbc2a516024064821f825c384673f9f99..98e6c5525c03c7207fd1db6e6522ec3dc6c5d1e1 100644 (file)
@@ -25,6 +25,7 @@ typedef       unsigned long   ulong;
 #include       <sys/dlpi.h>
 #include       <sys/signal.h>
 #include       <stdio.h>
+#include       <stdlib.h>
 #include       <string.h>
 #include       "dlcommon.h"
 
@@ -462,7 +463,7 @@ char        *bufp;
                err("dlphysaddrack:  short response ctl.len:  %d", ctl.len);
 }
 
-static void
+void
 sigalrm()
 {
        (void) err("sigalrm:  TIMEOUT");