Add HAVE_CONFIG_H support to let files receive configure defines.

This commit is contained in:
Ralf Corsepius
2010-03-27 05:01:30 +00:00
parent f5c405e150
commit b2bbdb9714
4 changed files with 20 additions and 6 deletions

View File

@@ -9,6 +9,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/bspcmdline.h>
extern const char *bsp_boot_cmdline;

View File

@@ -9,9 +9,11 @@
* $Id$
*/
#include <rtems/bspcmdline.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <rtems/bspcmdline.h>
static void copy_string(
const char *start,
@@ -63,5 +65,3 @@ const char *rtems_bsp_cmdline_get_param(
return value;
}

View File

@@ -9,9 +9,13 @@
* $Id$
*/
#include <rtems/bspcmdline.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <rtems/bspcmdline.h>
extern const char *bsp_boot_cmdline;

View File

@@ -9,6 +9,12 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <rtems/bspcmdline.h>
const char *rtems_bsp_cmdline_get_param_rhs(