This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
adaint.h include file question
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 02 May 2002 20:18:41 -0500
- Subject: adaint.h include file question
- Organization: OAR Corporation
- Reply-to: joel dot sherrill at OARcorp dot com
Hi,
adaint.h includes dirent.h. On some *-rtems targets (arm and
hppa1.1), it wasn't ending up including stdio.h and got compile
errors. On other targets, it was OK. The include file set
from the RTEMS side is the same so I am curious if anyone
could explain this. Right now, I have added the following
to adaint.h and it works but I would like to understand
better.
#if defined(__rtems__)
#include <stdio.h>
#endif
Thanks.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985