Skip to content

Commit

Permalink
pythongh-108623: Fix compile warning in `Modules/_multiprocessing/sem…
Browse files Browse the repository at this point in the history
…aphore.c` (python#108624)
  • Loading branch information
sobolevn authored Aug 29, 2023
1 parent bf08131 commit 30305d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Modules/_multiprocessing/multiprocessing.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 30305d6

Please sign in to comment.