diff options
author | Bill Fumerola <billf@FreeBSD.org> | 2001-03-12 22:06:03 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 2001-03-12 22:06:03 +0000 |
commit | e006d23d0f78959c3f45f1a5967af488018d09e5 (patch) | |
tree | eda134b8b721bb921acf49d19bb1c3aa896840c8 /net/mtr | |
parent | cd836ffe6f16872a45842add4c3d69ebeb7bde78 (diff) |
patch around broken kame patch. <sys/types.h> is a prerequesite for the
inet(3) includes...
Notes
Notes:
svn path=/head/; revision=39698
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> |