summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-06-06 21:16:41 (GMT)
committerGuido van Rossum <guido@python.org>1997-06-06 21:16:41 (GMT)
commit295b8e5608a0680f322223fc2b45b7349e74fd4b (patch)
tree7a4feff6d138fae06a4c7c0b263fcb58ebe18ca6
parentd9c6f4fd7d9c503d36fa74eb1fd4ea0321967da3 (diff)
downloadcpython-295b8e5608a0680f322223fc2b45b7349e74fd4b.zip
cpython-295b8e5608a0680f322223fc2b45b7349e74fd4b.tar.gz
cpython-295b8e5608a0680f322223fc2b45b7349e74fd4b.tar.bz2
Add sys/types.h include for pid_t when threading.
-rw-r--r--Modules/signalmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index e62be1f..89cab89 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -87,6 +87,7 @@ PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef WITH_THREAD
+#include <sys/types.h> /* For pid_t */
#include "thread.h"
static long main_thread;
static pid_t main_pid;