2005-09-29 James E. Wilson * libc/include/sys/dirent.h (_DIRENT_H_): Undef. Index: dirent.h =================================================================== RCS file: /services/cvs/cvsroot/gnusense/newlib/newlib/libc/include/sys/dirent.h,v retrieving revision 1.1.1.1 diff -p -r1.1.1.1 dirent.h *** dirent.h 8 Jul 2004 13:15:34 -0000 1.1.1.1 --- dirent.h 29 Sep 2005 23:23:16 -0000 *************** *** 9,14 **** --- 9,18 ---- #ifdef __cplusplus extern "C" { #endif + /* To force an error, we must undef this in case we find a second copy of + the main dirent.h file. This can happen if the first copy is in the + build tree, and the second copy is in the install tree. */ + #undef _DIRENT_H_ #include_next #ifdef __cplusplus }