- 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
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.
AC_INIT(mtr.c)
-AM_INIT_AUTOMAKE(mtr, 0.63)
+AM_INIT_AUTOMAKE(mtr, 0.64)
AC_SUBST(GTK_OBJ)
#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)