]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
mtr v0.64 v0.64
authorRoger Wolff <r.e.wolff@bitwizard.nl>
Mon, 16 Aug 2004 00:00:00 +0000 (00:00 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 3 Feb 2013 20:45:38 +0000 (20:45 +0000)
 - Philippe suggests to do the time_t thingy before socket.h.
   Apparently, MAC OS X doesn't compile socket.h otherwise.

source: ftp://ftp.bitwizard.nl/mtr/mtr-0.64.tar.gz

NEWS
configure.in
curses.c

diff --git a/NEWS b/NEWS
index 60ee8a166137cfc97b11091d2b4ffd9caffbaccb..2f871168a042a013061bf876299714acd6ea0aff 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,7 @@
 WHAT'S NEW?
+  v0.64 Philippe suggests to do the time_t thingy before socket.h. 
+        Apparently, MAC OS X doesn't compile socket.h otherwise.
+
   v0.63 Suggestion by RCW: Add -lm at line 70 of Configure.in.
         On my system no ill effects ensued, so this version released 
         so that he can test if it still works on his sytem. 
index 20570c54938caa4c318ea5749e2c9e15df1bd831..c934b0aac6df3e669074b7e369c6cf1e182bb95c 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(mtr.c)
-AM_INIT_AUTOMAKE(mtr, 0.63)
+AM_INIT_AUTOMAKE(mtr, 0.64)
 
 
 AC_SUBST(GTK_OBJ)
index dff24fd868a7f0c6853c049c374f124201bd84f7..943670dbd66a5d0bcfa618578e44b3def940177e 100644 (file)
--- a/curses.c
+++ b/curses.c
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
+
+/* Philippe tells me MacOSX needs this before scoket.h... -- REW */
+#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
+
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #  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
 #define attron(x) 
 #define attroff(x)