diff options
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/amix.h | 7 | ||||
-rw-r--r-- | bfd/hosts/hp9000.h | 7 | ||||
-rw-r--r-- | bfd/hosts/i386v.h | 10 | ||||
-rw-r--r-- | bfd/hosts/rs6000.h | 2 |
4 files changed, 13 insertions, 13 deletions
diff --git a/bfd/hosts/amix.h b/bfd/hosts/amix.h index 30a0cf1..8ff179f 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 <fcntl.h> #include <errno.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> +#include <utime.h> #include <ctype.h> #include <string.h> #include <sys/file.h> @@ -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 249a781..cbdb6d1 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 <memory.h> #define bcmp(b1,b2,len) memcmp(b1,b2,len) diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h index f1018c6..fe6e2fb 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -3,6 +3,7 @@ #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/utime.h> #include <ctype.h> #include <string.h> #include <sys/file.h> @@ -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 <memory.h> #define bcmp(b1,b2,len) memcmp(b1,b2,len) diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h index b8f0788..4fb70e8 100644 --- a/bfd/hosts/rs6000.h +++ b/bfd/hosts/rs6000.h @@ -6,6 +6,8 @@ #include <ctype.h> #include <string.h> #include <sys/file.h> +#include <stdlib.h> /* for malloc() */ + #ifndef O_ACCMODE #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif |