diff options
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/files/patch-04 | 24 | ||||
-rw-r--r-- | net/mtr/files/patch-05 | 10 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net/mtr/files/patch-04 b/net/mtr/files/patch-04 new file mode 100644 index 000000000000..4bc477a2f509 --- /dev/null +++ b/net/mtr/files/patch-04 @@ -0,0 +1,24 @@ +--- curses.c~ Sat Mar 10 17:04:01 2001 ++++ curses.c Sat Mar 10 17:04:39 2001 +@@ -22,6 +22,7 @@ + #ifndef NO_CURSES + #include <ctype.h> + #include <stdlib.h> ++#include <sys/types.h> + #include <netdb.h> + #include <sys/socket.h> + +@@ -35,13 +36,6 @@ + # include <cursesX.h> + #else + # error No curses header file available +-#endif +- +-#if defined(HAVE_SYS_TYPES_H) +-#include <sys/types.h> +-#else +-/* If a system doesn't have sys/types.h, lets hope that time_t is an int */ +-#define time_t int + #endif + + #ifndef HAVE_ATTRON diff --git a/net/mtr/files/patch-05 b/net/mtr/files/patch-05 new file mode 100644 index 000000000000..51012ba49931 --- /dev/null +++ b/net/mtr/files/patch-05 @@ -0,0 +1,10 @@ +--- split.c~ Sat Mar 10 17:04:01 2001 ++++ split.c Sat Mar 10 17:04:11 2001 +@@ -24,6 +24,7 @@ + #include <ctype.h> + #include <stdlib.h> + #include <stdio.h> ++#include <sys/types.h> + #include <netdb.h> + #include <sys/socket.h> + #include <netinet/in.h> |