Wireshark-commits: [Wireshark-commits] master-2.6 7f4b27b: Fix problem building on NetBSD 7.1.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 30 May 2018 23:16:52 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7f4b27b434428d2a4ec9ffa64ad0c80222796bf4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

7f4b27b by Guy Harris (guy@xxxxxxxxxxxx):

    Fix problem building on NetBSD 7.1.
    
    The version of Berkeley YACC that comes with NetBSD 7.1 puts a
    declaration of ascendlval into ascend.h, even when we're building a
    reentrant parser.  That causes a shadowing warning.
    
    Suppress some diagnostics before we include ascend.h.
    
    Change-Id: I190f0439c36b48c7dfb19a2fe6cef0eb1e96f198
    Reviewed-on: https://code.wireshark.org/review/27917
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 93e6ab8eb9dfe950426e1169095d2f400ba30eb2)
    Reviewed-on: https://code.wireshark.org/review/27918
    

Actions performed:

    from  2359750   ifaddrs.h may require sys/types.h to be included first.
    adds  7f4b27b   Fix problem building on NetBSD 7.1.


Summary of changes:
 wiretap/ascend.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)