diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 9fb7debcc..11382e862 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-05-30 Corinna Vinschen <corinna@vinschen.de> + + * include/sys/param.h: Add DEV_BSIZE. + 2003-05-29 Pierre Humblet <pierre.humblet@ieee.org> Corinna Vinschen <corinna@vinschen.de> diff --git a/winsup/cygwin/include/sys/param.h b/winsup/cygwin/include/sys/param.h index 09ef74ed9..5469cc70b 100644 --- a/winsup/cygwin/include/sys/param.h +++ b/winsup/cygwin/include/sys/param.h @@ -1,6 +1,6 @@ /* sys/param.h - Copyright 2001 Red Hat, Inc. + Copyright 2001, 2003 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -33,6 +33,11 @@ The Posix version is PATH_MAX. */ #define MAXPATHLEN (260 - 1 /*NUL*/) +/* This is the number of bytes per block given in the st_blocks stat member. + It should be in sync with S_BLKSIZE in sys/stat.h. S_BLKSIZE is the + BSD variant of this constant. */ +#define DEV_BSIZE 1024 + /* Some autoconf'd packages check for endianness. When cross-building we can't run programs on the target. Fortunately, autoconf supports the definition of byte order in sys/param.h (that's us!).