*      It is used by DFE client processes
 ********************************************************************** HISTORY
 */
+/* This is all unneeded on DOS machines.  */
+#ifndef __GO32__
+
 #include <stdio.h>
 #include <string.h>
 
 {
     return ((company_c << 16) + (product_c << 12) + version_c);
 }
+#endif /* __GO32__ */
 
 *      and de-serialised back into the approproiate objects.
 ********************************************************************** HISTORY
 */
+/* This is all unneeded on DOS machines.  */
+#ifndef __GO32__
+
 #include <stdio.h>
 #include <sys/types.h>
 
     offset = offset & (size -1);
     if(offset) udr_setpos(udrs, align + offset);
 }
+#endif /* __GO32__ */
 
+Wed Nov  3 09:20:18 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       Merge changes for dos x udi:
+       * Makefile.in (udi2go32.o): add rule to build this file
+       * 29k-share/udi/udi2go32.c: new file
+       * config/a29k/a29k-udi.mt: add udi2go32.o
+       * 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file 
+         if __GO32__ is defined.  What a hack.
+
 Wed Nov  3 09:20:18 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * remote.c (putpkt, getpkt): Don't call interrupt_query.
 
 udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
 
+udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
+
 udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) 
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
 
 
 # Target: AMD 29000 on EB29K board over a serial line.
-TDEPFILES= exec.o a29k-pinsn.o remote-udi.o a29k-tdep.o udip2soc.o udr.o
+TDEPFILES= exec.o a29k-pinsn.o remote-udi.o a29k-tdep.o udip2soc.o udr.o \
+  udi2go32.o
 REMOTE_O=
 TM_FILE= tm-a29k.h
 # The following is for ../include/a.out.encap.h