Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/dirent.h3
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_*/