Wireshark-commits: [Wireshark-commits] master-2.0 d296ba6: Make sure pid_t is defined.

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

Commits:

d296ba6 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/20000
    

Actions performed:

    from  f22d155   ui: Write recent file when applying profile changes
    adds  d296ba6   Make sure pid_t is defined.


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