diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-30 20:26:47 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-30 20:26:47 +0300 |
commit | a8e091b0bcecc5a220f316d48664d424d779ffbb (patch) | |
tree | 4334e6989b48788835c636fd3f405ce5e542e515 /newlib | |
parent | 1cf0d8510a4102506ce84dab72ca3381757bb106 (diff) |
* libc/include/dirent.h: Protect against multiple inclusion.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/dirent.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a314e1322..3e1a059bc 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2001-11-29 Christopher Faylor <cgf@redhat.com> + + * libc/include/dirent.h: Protect against multiple inclusion. + 2001-11-27 Christopher Faylor <cgf@redhat.com> * libc/include/sys/types.h: Define useconds_t. diff --git a/newlib/libc/include/dirent.h b/newlib/libc/include/dirent.h index 9e33a0dcb..6fefc03cb 100644 --- a/newlib/libc/include/dirent.h +++ b/newlib/libc/include/dirent.h @@ -1,3 +1,5 @@ +#ifndef _DIRENT_H_ +#define _DIRENT_H_ #ifdef __cplusplus extern "C" { #endif @@ -10,3 +12,4 @@ extern "C" { #ifdef __cplusplus } #endif +#endif /*_DIRENT_H_*/ |