diff options
Diffstat (limited to 'source/n/icmpinfo/icmpinfo-1.11-time.diff')
-rw-r--r-- | source/n/icmpinfo/icmpinfo-1.11-time.diff | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/source/n/icmpinfo/icmpinfo-1.11-time.diff b/source/n/icmpinfo/icmpinfo-1.11-time.diff new file mode 100644 index 00000000..71f8807b --- /dev/null +++ b/source/n/icmpinfo/icmpinfo-1.11-time.diff @@ -0,0 +1,45 @@ +diff -uri icmpinfo-1.11/defs.h icmpinfo-1.11.fixed/defs.h +--- icmpinfo-1.11/defs.h 1994-05-26 15:36:40.000000000 +0200 ++++ icmpinfo-1.11.fixed/defs.h 2008-04-07 20:13:09.000000000 +0200 +@@ -3,10 +3,11 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> /* exit */ + #include <errno.h> + extern int errno; + +-#include <sys/time.h> ++#include <time.h> + #include <sys/param.h> + #include <sys/socket.h> + #include <sys/file.h> +diff -uri icmpinfo-1.11/err.c icmpinfo-1.11.fixed/err.c +--- icmpinfo-1.11/err.c 1994-04-22 19:44:48.000000000 +0200 ++++ icmpinfo-1.11.fixed/err.c 2008-04-07 20:13:47.000000000 +0200 +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <stdlib.h> /* exit */ + + extern char *pname; + +diff -uri icmpinfo-1.11/pid.c icmpinfo-1.11.fixed/pid.c +--- icmpinfo-1.11/pid.c 2008-04-07 20:16:58.000000000 +0200 ++++ icmpinfo-1.11.fixed/pid.c 2008-04-07 20:14:12.000000000 +0200 +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <stdlib.h> /* exit */ + #include <signal.h> + + #define PIDFILE "/var/run/icmpinfo.pid" +diff -uri icmpinfo-1.11/print.c icmpinfo-1.11.fixed/print.c +--- icmpinfo-1.11/print.c 2008-04-07 20:16:58.000000000 +0200 ++++ icmpinfo-1.11.fixed/print.c 2008-04-07 20:15:23.000000000 +0200 +@@ -9,6 +9,7 @@ + it should be ok, now */ + + #include <string.h> ++#include <stddef.h> /* offsetof */ + #include "defs.h" + + #ifndef ANSI_OFFSETOF |