Wireshark-commits: [Wireshark-commits] master-2.2 2f0b212: Make sure pid_t is defined.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 7 Feb 2017 21:37:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2f0b212438c1f69f3d89bf0fa5fee7a51308655a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

2f0b212 by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure pid_t is defined.
    
    Just as we include <windows.h> on Windows to get HANDLE defined, include
    <sys/types.h> on UN*X to get pid_t defined.
    
    We don't seem to need this (yet) on the master and 2.2 branches, but it
    looks as if it might be necessary on the 2.0 branch.  Do it everywhere.
    
    Change-Id: I9535fa9944265746d332f8dc337e42a020b503d3
    Reviewed-on: https://code.wireshark.org/review/19998
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 0e74fbb4281d3b4fac812d04004c1668cbf903ab)
    Reviewed-on: https://code.wireshark.org/review/19999
    

Actions performed:

    from  6c39753   ui: Write recent file when applying profile changes
    adds  2f0b212   Make sure pid_t is defined.


Summary of changes:
 wsutil/processes.h |    3 +++
 1 file changed, 3 insertions(+)