Changeset 79ad952 in rtems-libbsd


Ignore:
Timestamp:
Nov 2, 2017, 2:07:23 PM (20 months ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
7ece7548c1b05cf6bb10e6708b83b2401d45c250, 29cc431e0bcfe059d65ac3019f53eeafa5064ae8
Children:
bed8742
Parents:
4613db0
git-author:
Christian Mauderer <Christian.Mauderer@…> (11/02/17 14:07:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/10/17 12:33:03)
Message:

wpa_supplicant: Include rtems-bsd-program.h.

Location:
freebsd/contrib/wpa/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd/contrib/wpa/src/eap_peer/eap_methods.c

    r4613db0 r79ad952  
    99 */
    1010
     11#ifdef __rtems__
     12#define RTEMS_BSD_PROGRAM_NO_FREE_WRAP
     13#endif /* __rtems__ */
    1114#include "includes.h"
    1215#ifdef CONFIG_DYNAMIC_EAP_METHODS
  • freebsd/contrib/wpa/src/utils/includes.h

    r4613db0 r79ad952  
    1414#define INCLUDES_H
    1515
     16#ifdef __rtems__
     17#include <machine/rtems-bsd-program.h>
     18#define os_malloc(x) rtems_bsd_program_malloc((x))
     19#define os_realloc(x, y) rtems_bsd_program_realloc((x), (y))
     20#define os_free(x) rtems_bsd_program_free((x))
     21#define os_strdup(x) rtems_bsd_program_strdup((x))
     22#endif /* __rtems__ */
    1623/* Include possible build time configuration before including anything else */
    1724#include "build_config.h"
Note: See TracChangeset for help on using the changeset viewer.