diff options
author | Roland McGrath <roland@gnu.org> | 1996-01-02 06:19:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-01-02 06:19:15 +0000 |
commit | fc4026d8e43407ba2739e493878d1ce259500059 (patch) | |
tree | 8473474493e6a95c5eb9fc6331b4658adb0b9707 /posix | |
parent | 0a95f04d06a3226097124a3cee6b4a86452908b0 (diff) | |
download | glibc-fc4026d8e43407ba2739e493878d1ce259500059.tar.gz glibc-fc4026d8e43407ba2739e493878d1ce259500059.tar.xz glibc-fc4026d8e43407ba2739e493878d1ce259500059.zip |
Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* misc/queue.h: New file, incorporated from 4.4BSD. * misc/Makefile (headers): Add queue.h. * posix/sys/types.h [__USE_BSD]: Include endian.h. * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE): New macros.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/sys/types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h index 207ae8de8b..751f1064b0 100644 --- a/posix/sys/types.h +++ b/posix/sys/types.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1994, 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -96,6 +96,12 @@ typedef long int key_t; #ifdef __USE_BSD +/* In BSD <sys/types.h> is expected to define BYTE_ORDER. */ +#include <endian.h> +#endif + + +#ifdef __USE_BSD #define FD_SETSIZE __FD_SETSIZE #define NFDBITS __NFDBITS |