• Aurelio Colosimo's avatar
    fix defines and includes for compilation inside wrpc-sw · 7373cc02
    Aurelio Colosimo authored
    Two main problems where found when compiling into wrpc-sw, commit
    - wrpc_sw/include/hw/memlayout.h defines some symbols into a header file
    (I think they should be defined there as "extern" and actually declared
    somewhere else);
    - there was an include to be removed
    The simple solution for the first issue is to define __REGS_H where
    the compiler complains; the better solution, to me, is to follow include
    chain to discover who is including memlayout.h, or define those symbols as
    Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
wrpc-socket.c 2.87 KB