mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
14 lines
311 B
Diff
14 lines
311 B
Diff
diff --git a/src/osd.c b/src/osd.c
|
|
index ebe214a..4ba81d5 100644
|
|
--- a/src/osd.c
|
|
+++ b/src/osd.c
|
|
@@ -516,7 +516,7 @@ osd_getPid ()
|
|
# if defined (WIN32) || defined (OS2) && defined (__IBMC__)
|
|
int pid = _getpid ();
|
|
# else
|
|
- __pid_t pid = getpid ();
|
|
+ pid_t pid = getpid ();
|
|
# endif
|
|
|
|
return (int) pid;
|