mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 13:56:17 +08:00
wpa_supplicant: Include rtems-bsd-program.h.
This commit is contained in:

committed by
Sebastian Huber

parent
4613db09fc
commit
79ad9525a2
@@ -8,6 +8,9 @@
|
|||||||
* See README for more details.
|
* See README for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __rtems__
|
||||||
|
#define RTEMS_BSD_PROGRAM_NO_FREE_WRAP
|
||||||
|
#endif /* __rtems__ */
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#ifdef CONFIG_DYNAMIC_EAP_METHODS
|
#ifdef CONFIG_DYNAMIC_EAP_METHODS
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
@@ -13,6 +13,13 @@
|
|||||||
#ifndef INCLUDES_H
|
#ifndef INCLUDES_H
|
||||||
#define INCLUDES_H
|
#define INCLUDES_H
|
||||||
|
|
||||||
|
#ifdef __rtems__
|
||||||
|
#include <machine/rtems-bsd-program.h>
|
||||||
|
#define os_malloc(x) rtems_bsd_program_malloc((x))
|
||||||
|
#define os_realloc(x, y) rtems_bsd_program_realloc((x), (y))
|
||||||
|
#define os_free(x) rtems_bsd_program_free((x))
|
||||||
|
#define os_strdup(x) rtems_bsd_program_strdup((x))
|
||||||
|
#endif /* __rtems__ */
|
||||||
/* Include possible build time configuration before including anything else */
|
/* Include possible build time configuration before including anything else */
|
||||||
#include "build_config.h"
|
#include "build_config.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user