From 3c4e98ad07feee1caa26ae3868c4cc5689a63d18 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 2 Jun 2018 10:54:11 +0200
Subject: fix getpid


diff --git a/src/z-rand.c b/src/z-rand.c
index 57f0e4b..2fe064b 100644
--- a/src/z-rand.c
+++ b/src/z-rand.c
@@ -537,7 +537,7 @@ void rand_fix(u32b val)
 	rand_fixval = val;
 }
 
-int getpid(void);
+pid_t getpid(void);
 
 /**
  * Another simple RNG that does not use any of the above state
-- 
2.16.4

