Wireshark-commits: [Wireshark-commits] master 235d3a2: Fix build without pcap.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 20 Jun 2014 23:26:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=235d3a2a3a62bd6e4667a8e2b32ee351b0569352
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

235d3a2 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix build without pcap.
    
    The files that use LONGOPT_CAPTURE_COMMON and OPTSTRING_CAPTURE_COMMON
    include capture_opts.h unconditionally, so there's no need to define
    them if we don't have pcap.  In addition, we want the capture options
    "available" even if we don't have pcap, so we can tell the user "you're
    using a version of *shark without pcap, but you gave a capture option".
    
    Change-Id: I0bd3893b73d3d903610d0bc6cacb60bfb37096f4
    Reviewed-on: https://code.wireshark.org/review/2503
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5d65e02   More .in files to handle
    adds  235d3a2   Fix build without pcap.


Summary of changes:
 tshark.c       |    5 -----
 ui/gtk/main.c  |    4 ----
 ui/qt/main.cpp |    5 -----
 3 files changed, 14 deletions(-)