gh-108623: Fix compile warning in `Modules/_multiprocessing/semaphore.c` (#108624)

This commit is contained in:
Nikita Sobolev 2023-08-29 14:43:11 +03:00 committed by GitHub
parent bf08131e0a
commit 30305d6d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,9 +1,14 @@
#ifndef MULTIPROCESSING_H
#define MULTIPROCESSING_H
#ifndef Py_BUILD_CORE_BUILTIN
# define Py_BUILD_CORE_MODULE 1
#endif
#include "Python.h"
#include "structmember.h"
#include "pythread.h"
#include "pycore_signal.h" // _PyOS_IsMainThread()
/*
* Platform includes and definitions