forked from Imagelibrary/rtems
Add HAVE_CONFIG_H support to let files receive configure defines.
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/bspcmdline.h>
|
||||
|
||||
extern const char *bsp_boot_cmdline;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user