[gnu.utils.bug] diff-1.7: changes for hp-ux 6.5 on 9000s300

luik%einstein@UUNET.UU.NET (Andreas Luik) (12/07/89)

Hello,

to compile diff-1.7 on our HP workstations 9000/300 running hp-ux 6.5,
we had to make the following modifications:

*** diff.h.ORIG	Fri Feb 24 18:42:05 1989
--- diff.h	Wed Dec  6 19:19:00 1989
***************
*** 25,37 ****
  
  #ifdef USG
  #include <time.h>
! #ifdef hp9000s800
  #include <ndir.h>
  #else
  #include <dirent.h>
  #endif
  #include <fcntl.h>
- #define direct dirent
  #else
  #include <sys/time.h>
  #include <sys/dir.h>
--- 25,37 ----
  
  #ifdef USG
  #include <time.h>
! #if defined(hp9000s800) || defined(hp9000s300)
  #include <ndir.h>
  #else
  #include <dirent.h>
+ #define direct dirent
  #endif
  #include <fcntl.h>
  #else
  #include <sys/time.h>
  #include <sys/dir.h>

*** diff3.c.ORIG	Sat Apr  8 21:56:10 1989
--- diff3.c	Wed Dec  6 19:41:39 1989
***************
*** 27,32 ****
--- 27,34 ----
  #ifdef USG
  /* Define needed BSD functions in terms of sysV library.  */
  
+ #include <fcntl.h>
+ 
  #define bcopy(s,d,n)	memcpy((d),(s),(n))
  #define bcmp(s1,s2,n)	memcmp((s1),(s2),(n))
  #define bzero(s,n)	memset((s),0,(n))


Would you please check, whether these changes are correct? If so, please
add them to the next release.

Thanks,

-- 
Andreas Luik                Domain: luik@isaak.isa.de
			    BITNET: luik%isaak.uucp@unido.bitnet
UUCP:   luik@isaak.uucp     Bang:   ...!{uunet!unido,pyramid}!isaak!luik