From: John Gilmore Date: Fri, 11 Oct 1991 10:41:22 +0000 (+0000) Subject: * hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06d0bdef536c1f089b1b340a35e7b962bfc051b6;p=binutils-gdb.git * hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG. * hosts/h-hp9000.h: Remove USG comment. * hosts/h-rs6000.h: Include for malloc. * hosts/h-news.h, h-sparc-64.h: New config files that had previously been kludged in the file. --- diff --git a/bfd/hosts/amix.h b/bfd/hosts/amix.h index 30a0cf1ac02..8ff179f2044 100644 --- a/bfd/hosts/amix.h +++ b/bfd/hosts/amix.h @@ -1,11 +1,10 @@ -/* Not sure why this is needed -- Fred Fish put it in */ -#define USG - +/* Amiga Unix host system */ #include #include #include #include #include +#include #include #include #include @@ -16,6 +15,8 @@ #define SEEK_SET 0 #define SEEK_CUR 1 +#define POSIX_UTIME + extern PROTO(int, abort,(void)); extern PROTO(int, close,(int)); extern PROTO(void, exit,(int)); diff --git a/bfd/hosts/hp9000.h b/bfd/hosts/hp9000.h index 249a781ceea..cbdb6d1308b 100644 --- a/bfd/hosts/hp9000.h +++ b/bfd/hosts/hp9000.h @@ -12,11 +12,8 @@ #define SEEK_SET 0 #define SEEK_CUR 1 -/* - * Some things that need to be defined in order to make code written for - * BSD Unix compile under System V ("USG") Unix. This file should be - * conditionally included in the source. - */ +/* Some things that need to be defined in order to make code written for + BSD Unix compile under System V Unix. */ #include #define bcmp(b1,b2,len) memcmp(b1,b2,len) diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h index f1018c6711b..fe6e2fb74a0 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -12,11 +13,10 @@ #define SEEK_SET 0 #define SEEK_CUR 1 -/* - * Some things that need to be defined in order to make code written for - * BSD Unix compile under System V ("USG") Unix. This file should be - * conditionally included in the source. - */ +#define POSIX_UTIME + +/* Some things that need to be defined in order to make code written for + BSD Unix compile under System V Unix. */ #include #define bcmp(b1,b2,len) memcmp(b1,b2,len) diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h index b8f07887046..4fb70e8f543 100644 --- a/bfd/hosts/rs6000.h +++ b/bfd/hosts/rs6000.h @@ -6,6 +6,8 @@ #include #include #include +#include /* for malloc() */ + #ifndef O_ACCMODE #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif