diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2010-08-11 18:14:54 +0000 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2010-08-11 18:14:54 +0000 |
commit | 7aba919b5e74ad0c67a453f8d7ebb4356222a9d5 (patch) | |
tree | d15442fbe266fa07ab2441a589cb454d18e7e36e /newlib | |
parent | 841003a9b30bb82dc304fea3d7fba07205ab2795 (diff) | |
download | newlib-7aba919b5e74ad0c67a453f8d7ebb4356222a9d5.zip newlib-7aba919b5e74ad0c67a453f8d7ebb4356222a9d5.tar.gz newlib-7aba919b5e74ad0c67a453f8d7ebb4356222a9d5.tar.bz2 |
* libc/include/sys/dir.h: New BSD-compatibility header.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/dir.h | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index bf6dfec..78732cf 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2010-08-10 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> + + * libc/include/sys/dir.h: New BSD-compatibility header. + 2010-08-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin. diff --git a/newlib/libc/include/sys/dir.h b/newlib/libc/include/sys/dir.h new file mode 100644 index 0000000..220150d --- /dev/null +++ b/newlib/libc/include/sys/dir.h @@ -0,0 +1,10 @@ +/* BSD predecessor of POSIX.1 <dirent.h> and struct dirent */ + +#ifndef _SYS_DIR_H_ +#define _SYS_DIR_H_ + +#include <dirent.h> + +#define direct dirent + +#endif /*_SYS_DIR_H_*/ |