This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using the correct #includes in ser-go32.c


This patch was sent already by me, but it is not yet applied. It
uses the correct #includes, since the directory structure on DJGPP
has changed already for a long time.

This patch is against "a March 10th snapshot from DJ"
which I got from DJ Delorie.

Sun Mar 14 1999 Robert Hoehne <robert.hoehne@gmx.net>

	* ser-go32.c: #include the correct system headers.

--- gdb-snap-march-10th-from-DJ/gdb/ser-go32.c.orig	Fri Mar  6 20:38:40 1998
+++ gdb-snap-march-10th-from-DJ/gdb/ser-go32.c	Thu Mar 11 23:51:40 1999
@@ -126,9 +126,10 @@
 #define	MSR_DDSR	0x02
 #define	MSR_DCTS	0x01
 
-#include <sys/dos.h>
-#include <sys/go32.h>
-#include <sys/dpmi.h>
+#include <dos.h>
+#include <go32.h>
+#include <dpmi.h>
+typedef unsigned long u_long;
 
 /* DPMI Communication */
 static union REGS dpmi_regs;

******************************************************
* email:   Robert Hoehne <robert.hoehne@gmx.net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************