diff options
author | John Gilmore <gnu@cygnus> | 1991-10-11 10:41:22 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-10-11 10:41:22 +0000 |
commit | 06d0bdef536c1f089b1b340a35e7b962bfc051b6 (patch) | |
tree | e9259152f0fe4d6199aa682c5196dba59d50096c /bfd | |
parent | 239326c84fe370e473b89971a3b825ab7024521e (diff) | |
download | gdb-06d0bdef536c1f089b1b340a35e7b962bfc051b6.zip gdb-06d0bdef536c1f089b1b340a35e7b962bfc051b6.tar.gz gdb-06d0bdef536c1f089b1b340a35e7b962bfc051b6.tar.bz2 |
* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h: Remove USG comment.
* hosts/h-rs6000.h: Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h: New config files that had
previously been kludged in the <sysdep.h> file.
Diffstat (limited to 'bfd')
-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 |