Add HAVE_CONFIG_H support to let files receive configure defines.

This commit is contained in:
Ralf Corsepius
2010-03-28 03:14:08 +00:00
parent 9996c16e3e
commit 694c3ac682
5 changed files with 20 additions and 0 deletions
+4
View File
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
+4
View File
@@ -13,6 +13,10 @@
* @(#) $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <rtems.h>
+4
View File
@@ -13,6 +13,10 @@
* @(#) $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* FIXME: How to set this define? */
#if !defined(RTEMS_RAMDISK_TRACE)
#define RTEMS_RAMDISK_TRACE 0
+4
View File
@@ -21,6 +21,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <rtems.h>
+4
View File
@@ -10,6 +10,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <fcntl.h>
#include <rtems/libio_.h>