gentoo/dev-python/yappi/files/yappi-1.2.5-warnings.patch
Patrick McLean 637ee110c2
dev-python/yappi-1.2.5: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2020-04-28 18:13:48 -07:00

14 lines
483 B
Diff

diff --git a/setup.py b/setup.py
index cd9a549..440043c 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ link_args = []
if os.name == 'posix' and sys.platform != 'darwin':
compiler = new_compiler()
- if compiler.has_function('timer_create', libraries=('rt', )):
+ if compiler.has_function('timer_create', libraries=('rt', ), includes=["signal.h", "time.h"]):
user_macros.append(('LIB_RT_AVAILABLE', '1'))
user_libraries.append('rt')
if _DEBUG: