Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iw_if.h: don't include linux/if.h #109

Merged
merged 1 commit into from
Dec 21, 2021
Merged

iw_if.h: don't include linux/if.h #109

merged 1 commit into from
Dec 21, 2021

Commits on Dec 21, 2021

  1. iw_if.h: don't include linux/if.h

    Don't include linux/if.h to avoid the following build failure:
    
    In file included from iw_if.h:31:0,
                     from conf.c:19:
    /home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/linux/if.h: At top level:
    /home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/linux/if.h:143:8: error: redefinition of 'struct ifmap'
     struct ifmap {
            ^
    In file included from iw_if.h:26:0,
                     from conf.c:19:
    /home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/net/if.h:111:8: note: originally defined here
     struct ifmap
            ^
    
    Fixes:
     - http://autobuild.buildroot.org/results/a6ee162cf04b70b144b54e1ca4b7b2421071c50c
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
    ffontaine committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    0dbe5b6 View commit details
    Browse the repository at this point in the history