This is a patch to randpkt.c needed to make it link with MingW.
Looking at Makefile.nmake, I assume it's required for MSVC too.
The variables 'timestamp_type' and cfile' are missing:
--- ethereal-2004-02-01\randpkt.c Sun Nov 17 22:47:41 2002
+++ randpkt.c Mon Jan 26 22:17:51 2004
@@ -47,9 +47,14 @@
#include <string.h>
#include <glib.h>
#include "wiretap/wtap.h"
+#include "epan/timestamp.h"
+#include "file.h"
#define array_length(x) (sizeof x / sizeof x[0])
+ts_type timestamp_type = TS_RELATIVE;
+capture_file cfile;
+
/* Types of produceable packets */
enum {
PKT_ARP,
-------
BTW. Shouldn't simple_dialog.h be moved to ./gtk since
that's where simple_dialog.c is ?
And there seems to be some inconsistency in the way it is
included. E.g. gtk\follow_dlg.c says #include "simple_dialog.h",
but gtk\fc_stat.c says #include "../simple_dialog.h".
--gv
_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev