tcpdump mailing list archives

[Patch] msdos/pktdrvr.c


From: Gisle Vanem <gvanem () broadpark no>
Date: Tue, 22 Apr 2008 18:12:41 +0200

* gnuc.c not needed.

* sys/pack*.h was renamed in a recent Watt-32 distro.

--- msdos/pktdrvr.c.orig   Sat Dec 18 07:52:14 2004
+++ msdos/pktdrvr.c Wed Dec 13 15:55:00 2006
@@ -21,7 +21,6 @@
#include <string.h>
#include <dos.h>

-#include "gnuc.h"
#include "pcap-dos.h"
#include "pcap-int.h"
#include "msdos/pktdrvr.h"
@@ -61,7 +60,7 @@


#if (DOSX & (DJGPP|DOS4GW))
-  #include <sys/packon.h>
+  #include <sys/pack_on.h>

  struct DPMI_regs {
         DWORD  r_di;
@@ -91,7 +90,7 @@
          WORD       _fanIndex;
          BYTE       _PktReceiver[15]; /* starts on a paragraph (16byte) */
        } PktRealStub;
-  #include <sys/packoff.h>
+  #include <sys/pack_off.h>

  static BYTE real_stub_array [] = {
         #include "pkt_stub.inc"       /* generated opcode array */


--gv
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: