toms@mipon3.intel.com (01/27/89)
I made two changes to GNU Make 3.27 to compile w/ cc (Not GNU cc)
on a Vax780 Ultrix machine and a Sun386i.
For the Sun386i I had to put () around the object of a sizeof function
in arscan.c.
For Ultrix I had to modify a include from <sys/fcntl.h> to just <fcntl.h>
in commands.c.
Patch included at end of mail.
---------------------------------------------------------------------
Tom Shott toms@omepd.intel.com
Intel {verdix,tektronix,ogccse}!omepd!mipon3!toms
M/S JF1-58
2111 NE 25th Ave.
Hillsboro, OR 97123
(503) 696-4520 "Better living through Silicon"
---------------------------------------------------------------------
*** arscan.c~ Mon Dec 12 15:37:26 1988
--- arscan.c Wed Jan 25 17:08:10 1989
***************
*** 186,193 ****
#ifdef SARMAG
register long int member_offset = SARMAG;
#else
! register long int member_offset = sizeof int;
! #endif
while (1)
{
--- 186,193 ----
#ifdef SARMAG
register long int member_offset = SARMAG;
#else
! register long int member_offset = sizeof(int); /* jts3 added () */
! #endif
while (1)
{
*** commands.c~ Mon Dec 12 15:37:09 1988
--- commands.c Wed Jan 25 17:08:19 1989
***************
*** 38,44 ****
#include <sys/time.h>
#include <sys/resource.h>
! #include <sys/fcntl.h>
#endif /* USG */
--- 38,45 ----
#include <sys/time.h>
#include <sys/resource.h>
! /* #include <sys/fcntl.h> jts3 changed to no sys, like arscan */
! #include <fcntl.h>
#endif /* USG */