From 0e74fbb4281d3b4fac812d04004c1668cbf903ab Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 7 Feb 2017 13:35:41 -0800 Subject: Make sure pid_t is defined. Just as we include on Windows to get HANDLE defined, include 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 --- wsutil/processes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wsutil') diff --git a/wsutil/processes.h b/wsutil/processes.h index 60ccd600af..6fb963ed39 100644 --- a/wsutil/processes.h +++ b/wsutil/processes.h @@ -42,7 +42,10 @@ typedef HANDLE ws_process_id; #else /* * On UN*X, a process ID is a pid_t. + * Include to make sure pid_t is defined. */ +#include + typedef pid_t ws_process_id; #define WS_INVALID_PID -1 -- cgit v1.2.1