summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/splint/darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/analysis/splint/darwin.patch')
-rw-r--r--pkgs/development/tools/analysis/splint/darwin.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/splint/darwin.patch b/pkgs/development/tools/analysis/splint/darwin.patch
new file mode 100644
index 00000000000..8c435707571
--- /dev/null
+++ b/pkgs/development/tools/analysis/splint/darwin.patch
@@ -0,0 +1,13 @@
+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;