ports/net/liblinphone/files/patch-wrappers_cpp_genwrapper.py
2025-03-27 10:17:07 +01:00

11 lines
481 B
Python

--- wrappers/cpp/genwrapper.py.orig 2025-03-20 22:21:32 UTC
+++ wrappers/cpp/genwrapper.py
@@ -425,6 +425,8 @@ class ClassHeader:
elif isinstance(type_, AbsApi.BaseType):
if type_.name == 'integer' and isinstance(type_.size, int):
self._add_include('external', 'cstdint')
+ elif type_.name == 'time':
+ self._add_include('external', 'ctime')
elif type_.name == 'string':
self._add_include('external', 'string')
elif isinstance(type_, AbsApi.ListType):