diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2023-08-14 19:53:50 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2023-08-14 19:53:50 -0400 |
commit | 5eb27c36cab875713702cd1e8e1c40372ceaa7f3 (patch) | |
tree | 2d1ab6829b33aba81d6cee57a8df41a6bcb8dd66 /src/Shell.c | |
parent | 17c53aba93fce36c9180b9de002cd6aacf15813b (diff) |
issue #19: include <process.h> on Windows for getpid()
submitted by Billy O'Neal
This problem was first detected in
https://github.com/microsoft/vcpkg/pull/33088
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Shell.c')
-rw-r--r-- | src/Shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Shell.c b/src/Shell.c index 82616ef..027448b 100644 --- a/src/Shell.c +++ b/src/Shell.c @@ -93,6 +93,10 @@ in this Software without prior written authorization from The Open Group. #include <X11/Xmu/Editres.h> #endif +#ifdef WIN32 +#include <process.h> /* for getpid() */ +#endif + /*************************************************************************** * * Note: per the Xt spec, the Shell geometry management assumes in |