diff --git a/bfd/hosts/amix.h b/bfd/hosts/amix.h index 30a0cf1ac0..8ff179f204 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 249a781cee..cbdb6d1308 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 f1018c6711..fe6e2fb74a 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 b8f0788704..4fb70e8f54 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