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

port.h: include <sys/time.h> #34

Closed
wants to merge 1 commit into from
Closed

port.h: include <sys/time.h> #34

wants to merge 1 commit into from

Commits on Sep 26, 2020

  1. port.h: include <sys/time.h>

    Include <sys/time.h> to avoid the following build failure on musl:
    
    port.h:361:29: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
         const char *str, struct timeval *tv,
                                 ^~~~~~~
    portconfig.c: In function 'myconfig':
    portconfig.c:586:9: error: variable 'tv' has initializer but incomplete type
      struct timeval tv = { 0, 0 };
             ^~~~~~~
    
    Fixes:
     - http://autobuild.buildroot.org/results/4c0b238186cb2fb2d81807ce006945594f92b2cd
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
    ffontaine committed Sep 26, 2020
    Copy the full SHA
    021543b View commit details
    Browse the repository at this point in the history